/src/scnlib/src/scn/impl.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2017 Elias Kosunen |
2 | | // |
3 | | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | // you may not use this file except in compliance with the License. |
5 | | // You may obtain a copy of the License at |
6 | | // |
7 | | // https://www.apache.org/licenses/LICENSE-2.0 |
8 | | // |
9 | | // Unless required by applicable law or agreed to in writing, software |
10 | | // distributed under the License is distributed on an "AS IS" BASIS, |
11 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | // See the License for the specific language governing permissions and |
13 | | // limitations under the License. |
14 | | // |
15 | | // This file is a part of scnlib: |
16 | | // https://github.com/eliaskosunen/scnlib |
17 | | |
18 | | #pragma once |
19 | | |
20 | | // Transitively includes <scn/scan.h> |
21 | | #include <scn/regex.h> |
22 | | #include <scn/xchar.h> |
23 | | |
24 | | #include <algorithm> |
25 | | #include <clocale> |
26 | | #include <cmath> |
27 | | #include <cwchar> |
28 | | #include <functional> |
29 | | #include <vector> |
30 | | |
31 | | #if SCN_HAS_BITOPS |
32 | | #include <bit> |
33 | | #elif SCN_MSVC |
34 | | #include <IntSafe.h> |
35 | | #include <intrin.h> |
36 | | #elif SCN_POSIX && !SCN_GCC_COMPAT |
37 | | |
38 | | SCN_CLANG_PUSH |
39 | | SCN_CLANG_IGNORE("-Wreserved-id-macro") |
40 | | #define _XOPEN_SOURCE 700 |
41 | | SCN_CLANG_POP |
42 | | |
43 | | #include <strings.h> |
44 | | #endif |
45 | | |
46 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
47 | | #include <regex> |
48 | | #if SCN_REGEX_BOOST_USE_ICU |
49 | | #error "Can't use the ICU with std::regex" |
50 | | #endif |
51 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
52 | | #include <boost/regex.hpp> |
53 | | #if SCN_REGEX_BOOST_USE_ICU |
54 | | #include <boost/regex/icu.hpp> |
55 | | #endif |
56 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
57 | | #include <re2/re2.h> |
58 | | #endif |
59 | | |
60 | | namespace scn { |
61 | | SCN_BEGIN_NAMESPACE |
62 | | |
63 | | ///////////////////////////////////////////////////////////////// |
64 | | // Private ranges stuff |
65 | | ///////////////////////////////////////////////////////////////// |
66 | | |
67 | | namespace ranges { |
68 | | |
69 | | template <typename R> |
70 | | using const_iterator_t = iterator_t<std::add_const_t<R>>; |
71 | | |
72 | | // Like std::ranges::distance, utilizing .position if available |
73 | | namespace detail::distance_ { |
74 | | struct fn { |
75 | | private: |
76 | | template <typename I, typename S> |
77 | | static constexpr auto impl(I i, S s, priority_tag<1>) |
78 | | -> decltype(s.position() - i.position()) |
79 | | { |
80 | | return s.position() - i.position(); |
81 | | } |
82 | | |
83 | | template <typename I, typename S> |
84 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
85 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
86 | 119k | { |
87 | 119k | return s - i; |
88 | 119k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<char const*, char const*>(char const*, char const*, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 86 | 112k | { | 87 | 112k | return s - i; | 88 | 112k | } |
std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 86 | 7.71k | { | 87 | 7.71k | return s - i; | 88 | 7.71k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >, scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >, scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>, scn::v3::detail::priority_tag<0ul>) |
89 | | |
90 | | template <typename I, typename S> |
91 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
92 | | -> std::enable_if_t<!sized_sentinel_for<S, I>, iter_difference_t<I>> |
93 | 0 | { |
94 | 0 | iter_difference_t<I> counter{0}; |
95 | 0 | while (i != s) { |
96 | 0 | ++i; |
97 | 0 | ++counter; |
98 | 0 | } |
99 | 0 | return counter; |
100 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::detail::priority_tag<0ul>) |
101 | | |
102 | | public: |
103 | | template <typename I, typename S> |
104 | | constexpr auto operator()(I first, S last) const |
105 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
106 | | iter_difference_t<I>> |
107 | 119k | { |
108 | 119k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); |
109 | 119k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 107 | 112k | { | 108 | 112k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 112k | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 107 | 7.71k | { | 108 | 7.71k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 7.71k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<char*> >)&&(sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >), scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<wchar_t*> >)&&(sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >), scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>) const |
110 | | }; |
111 | | } // namespace detail::distance_ |
112 | | |
113 | | inline constexpr auto distance = detail::distance_::fn{}; |
114 | | |
115 | | namespace detail { |
116 | | template <typename I, typename = void> |
117 | | struct has_batch_advance : std::false_type {}; |
118 | | template <typename I> |
119 | | struct has_batch_advance<I, |
120 | | std::void_t<decltype(SCN_DECLVAL(I&).batch_advance( |
121 | | SCN_DECLVAL(std::ptrdiff_t)))>> : std::true_type { |
122 | | }; |
123 | | } // namespace detail |
124 | | |
125 | | // std::advance, utilizing .batch_advance if available |
126 | | namespace detail::advance_ { |
127 | | struct fn { |
128 | | private: |
129 | | template <typename T> |
130 | | static constexpr T abs(T t) |
131 | 196k | { |
132 | 196k | if (t < T{0}) { |
133 | 0 | return -t; |
134 | 0 | } |
135 | 196k | return t; |
136 | 196k | } |
137 | | |
138 | | template <typename I> |
139 | | static constexpr auto impl(I& i, iter_difference_t<I> n, priority_tag<1>) |
140 | | -> std::enable_if_t<has_batch_advance<I>::value> |
141 | | { |
142 | | i.batch_advance(n); |
143 | | } |
144 | | |
145 | | template <typename I> |
146 | | static constexpr auto impl_i_n(I& i, |
147 | | iter_difference_t<I> n, |
148 | | priority_tag<0>) |
149 | | -> std::enable_if_t<random_access_iterator<I>> |
150 | 165k | { |
151 | 165k | i += n; |
152 | 165k | } std::__1::enable_if<random_access_iterator<char const*>, void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 150 | 156k | { | 151 | 156k | i += n; | 152 | 156k | } |
std::__1::enable_if<random_access_iterator<wchar_t const*>, void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 150 | 8.80k | { | 151 | 8.80k | i += n; | 152 | 8.80k | } |
|
153 | | |
154 | | template <typename I> |
155 | | static constexpr auto impl_i_n(I& i, |
156 | | iter_difference_t<I> n, |
157 | | priority_tag<0>) |
158 | | -> std::enable_if_t<bidirectional_iterator<I> && |
159 | | !random_access_iterator<I>> |
160 | 3.47k | { |
161 | 3.47k | constexpr auto zero = iter_difference_t<I>{0}; |
162 | | |
163 | 3.47k | if (n > zero) { |
164 | 0 | while (n-- > zero) { |
165 | 0 | ++i; |
166 | 0 | } |
167 | 0 | } |
168 | 3.47k | else { |
169 | 3.47k | while (n++ < zero) { |
170 | 0 | --i; |
171 | 0 | } |
172 | 3.47k | } |
173 | 3.47k | } std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.34k | { | 161 | 1.34k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.34k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.34k | else { | 169 | 1.34k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.34k | } | 173 | 1.34k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 160 | 2.13k | { | 161 | 2.13k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 2.13k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 2.13k | else { | 169 | 2.13k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 2.13k | } | 173 | 2.13k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) |
174 | | |
175 | | template <typename I> |
176 | | static constexpr auto impl_i_n(I& i, |
177 | | iter_difference_t<I> n, |
178 | | priority_tag<0>) |
179 | | -> std::enable_if_t<!bidirectional_iterator<I>> |
180 | 0 | { |
181 | 0 | while (n-- > iter_difference_t<I>{0}) { |
182 | 0 | ++i; |
183 | 0 | } |
184 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::detail::priority_tag<0ul>) |
185 | | |
186 | | template <typename I, typename S> |
187 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<2>) |
188 | | -> std::enable_if_t<std::is_assignable_v<I&, S>> |
189 | 1.97k | { |
190 | 1.97k | i = std::move(bound); |
191 | 1.97k | } _ZN3scn2v36ranges6detail8advance_2fn8impl_i_sIPKcS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 992 | { | 190 | 992 | i = std::move(bound); | 191 | 992 | } |
_ZN3scn2v36ranges6detail8advance_2fn8impl_i_sIPKwS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 978 | { | 190 | 978 | i = std::move(bound); | 191 | 978 | } |
|
192 | | |
193 | | template <typename I, typename S> |
194 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<1>) |
195 | | -> std::enable_if_t<sized_sentinel_for<S, I>> |
196 | | { |
197 | | fn::impl_i_n(i, bound - i); |
198 | | } |
199 | | |
200 | | template <typename I, typename S> |
201 | | static constexpr void impl_i_s(I& i, S bound, priority_tag<0>) |
202 | 144 | { |
203 | 2.64k | while (i != bound) { |
204 | 2.50k | ++i; |
205 | 2.50k | } |
206 | 144 | } Unexecuted instantiation: void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 202 | 96 | { | 203 | 1.96k | while (i != bound) { | 204 | 1.86k | ++i; | 205 | 1.86k | } | 206 | 96 | } |
Unexecuted instantiation: void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 202 | 48 | { | 203 | 684 | while (i != bound) { | 204 | 636 | ++i; | 205 | 636 | } | 206 | 48 | } |
|
207 | | |
208 | | template <typename I, typename S> |
209 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
210 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
211 | 98.3k | { |
212 | 98.3k | if (fn::abs(n) >= fn::abs(bound - i)) { |
213 | 72 | auto dist = bound - i; |
214 | 72 | fn::impl_i_s(i, bound, priority_tag<2>{}); |
215 | 72 | return dist; |
216 | 72 | } |
217 | 98.2k | fn::impl_i_n(i, n, priority_tag<1>{}); |
218 | 98.2k | return n; |
219 | 98.3k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<char const*, char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, char const*) Line | Count | Source | 211 | 98.3k | { | 212 | 98.3k | if (fn::abs(n) >= fn::abs(bound - i)) { | 213 | 72 | auto dist = bound - i; | 214 | 72 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 215 | 72 | return dist; | 216 | 72 | } | 217 | 98.2k | fn::impl_i_n(i, n, priority_tag<1>{}); | 218 | 98.2k | return n; | 219 | 98.3k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) |
220 | | |
221 | | template <typename I, typename S> |
222 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
223 | | -> std::enable_if_t<bidirectional_iterator<I> && |
224 | | !sized_sentinel_for<S, I>, |
225 | | iter_difference_t<I>> |
226 | 5.41k | { |
227 | 5.41k | constexpr iter_difference_t<I> zero{0}; |
228 | 5.41k | iter_difference_t<I> counter{0}; |
229 | | |
230 | 5.41k | if (n < zero) { |
231 | 0 | do { |
232 | 0 | --i; |
233 | 0 | --counter; // Yes, really |
234 | 0 | } while (++n < zero && i != bound); |
235 | 0 | } |
236 | 5.41k | else { |
237 | 18.0k | while (n-- > zero && i != bound) { |
238 | 12.6k | ++i; |
239 | 12.6k | ++counter; |
240 | 12.6k | } |
241 | 5.41k | } |
242 | | |
243 | 5.41k | return counter; |
244 | 5.41k | } Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 226 | 4.68k | { | 227 | 4.68k | constexpr iter_difference_t<I> zero{0}; | 228 | 4.68k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 4.68k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 4.68k | else { | 237 | 15.2k | while (n-- > zero && i != bound) { | 238 | 10.5k | ++i; | 239 | 10.5k | ++counter; | 240 | 10.5k | } | 241 | 4.68k | } | 242 | | | 243 | 4.68k | return counter; | 244 | 4.68k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 226 | 724 | { | 227 | 724 | constexpr iter_difference_t<I> zero{0}; | 228 | 724 | iter_difference_t<I> counter{0}; | 229 | | | 230 | 724 | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 724 | else { | 237 | 2.81k | while (n-- > zero && i != bound) { | 238 | 2.08k | ++i; | 239 | 2.08k | ++counter; | 240 | 2.08k | } | 241 | 724 | } | 242 | | | 243 | 724 | return counter; | 244 | 724 | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) |
245 | | |
246 | | template <typename I, typename S> |
247 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
248 | | -> std::enable_if_t<!bidirectional_iterator<I> && |
249 | | !sized_sentinel_for<S, I>, |
250 | | iter_difference_t<I>> |
251 | 0 | { |
252 | 0 | constexpr iter_difference_t<I> zero{0}; |
253 | 0 | iter_difference_t<I> counter{0}; |
254 | |
|
255 | 0 | while (n-- > zero && i != bound) { |
256 | 0 | ++i; |
257 | 0 | ++counter; |
258 | 0 | } |
259 | |
|
260 | 0 | return counter; |
261 | 0 | } Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>))&&(!(sized_sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>))&&(!(sized_sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) |
262 | | |
263 | | public: |
264 | | template <typename I> |
265 | | constexpr auto operator()(I& i, iter_difference_t<I> n) const |
266 | | -> std::enable_if_t<input_or_output_iterator<I>> |
267 | 70.4k | { |
268 | 70.4k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); |
269 | 70.4k | } std::__1::enable_if<input_or_output_iterator<char const*>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 267 | 58.2k | { | 268 | 58.2k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 58.2k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 267 | 8.80k | { | 268 | 8.80k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 8.80k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Line | Count | Source | 267 | 1.34k | { | 268 | 1.34k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.34k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Line | Count | Source | 267 | 2.13k | { | 268 | 2.13k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 2.13k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
270 | | |
271 | | template <typename I, typename S> |
272 | | constexpr auto operator()(I& i, S bound) const |
273 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>> |
274 | 2.04k | { |
275 | 2.04k | fn::impl_i_s(i, bound, priority_tag<2>{}); |
276 | 2.04k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), void>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, char const*) const Line | Count | Source | 274 | 920 | { | 275 | 920 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 920 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 274 | 96 | { | 275 | 96 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 96 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), void>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, wchar_t const*) const Line | Count | Source | 274 | 978 | { | 275 | 978 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 978 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 274 | 48 | { | 275 | 48 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 48 | } |
|
277 | | |
278 | | template <typename I, typename S> |
279 | | constexpr auto operator()(I& i, iter_difference_t<I> n, S bound) const |
280 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
281 | | iter_difference_t<I>> |
282 | 103k | { |
283 | 103k | return n - fn::impl_i_n_s(i, n, bound); |
284 | 103k | } Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 282 | 4.68k | { | 283 | 4.68k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 4.68k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, char const*) const Line | Count | Source | 282 | 98.3k | { | 283 | 98.3k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 98.3k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) const Line | Count | Source | 282 | 724 | { | 283 | 724 | return n - fn::impl_i_n_s(i, n, bound); | 284 | 724 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) const |
285 | | }; |
286 | | } // namespace detail::advance_ |
287 | | |
288 | | inline constexpr auto advance = detail::advance_::fn{}; |
289 | | |
290 | | namespace next_impl { |
291 | | struct fn { |
292 | | template <typename I> |
293 | | constexpr auto operator()(I x) const |
294 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
295 | 566k | { |
296 | 566k | ++x; |
297 | 566k | return x; |
298 | 566k | } Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Line | Count | Source | 295 | 2.08k | { | 296 | 2.08k | ++x; | 297 | 2.08k | return x; | 298 | 2.08k | } |
std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*>(char const*) const Line | Count | Source | 295 | 72.5k | { | 296 | 72.5k | ++x; | 297 | 72.5k | return x; | 298 | 72.5k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 295 | 1.35k | { | 296 | 1.35k | ++x; | 297 | 1.35k | return x; | 298 | 1.35k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*) const Line | Count | Source | 295 | 490k | { | 296 | 490k | ++x; | 297 | 490k | return x; | 298 | 490k | } |
|
299 | | |
300 | | template <typename I> |
301 | | constexpr auto operator()(I x, iter_difference_t<I> n) const |
302 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
303 | 67.0k | { |
304 | 67.0k | ranges::advance(x, n); |
305 | 67.0k | return x; |
306 | 67.0k | } std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*>(char const*, scn::v3::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 303 | 58.2k | { | 304 | 58.2k | ranges::advance(x, n); | 305 | 58.2k | return x; | 306 | 58.2k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 303 | 8.80k | { | 304 | 8.80k | ranges::advance(x, n); | 305 | 8.80k | return x; | 306 | 8.80k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
307 | | |
308 | | template <typename I, typename S> |
309 | | constexpr auto operator()(I x, S bound) const |
310 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
311 | | I> |
312 | 2.04k | { |
313 | 2.04k | ranges::advance(x, bound); |
314 | 2.04k | return x; |
315 | 2.04k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 312 | 920 | { | 313 | 920 | ranges::advance(x, bound); | 314 | 920 | return x; | 315 | 920 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 312 | 96 | { | 313 | 96 | ranges::advance(x, bound); | 314 | 96 | return x; | 315 | 96 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 312 | 978 | { | 313 | 978 | ranges::advance(x, bound); | 314 | 978 | return x; | 315 | 978 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 312 | 48 | { | 313 | 48 | ranges::advance(x, bound); | 314 | 48 | return x; | 315 | 48 | } |
|
316 | | |
317 | | template <typename I, typename S> |
318 | | constexpr auto operator()(I x, iter_difference_t<I> n, S bound) const |
319 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
320 | | I> |
321 | | { |
322 | | ranges::advance(x, n, bound); |
323 | | return x; |
324 | | } |
325 | | }; |
326 | | } // namespace next_impl |
327 | | |
328 | | inline constexpr next_impl::fn next{}; |
329 | | |
330 | | // prev, for forward_iterators |
331 | | namespace detail::prev_backtrack_ { |
332 | | struct fn { |
333 | | private: |
334 | | template <typename It> |
335 | | static constexpr auto impl(It it, It, priority_tag<2>) |
336 | | -> std::enable_if_t<bidirectional_iterator<It>, It> |
337 | | { |
338 | | --it; |
339 | | return it; |
340 | | } |
341 | | |
342 | | template <typename It> |
343 | | static constexpr auto impl(It it, It beg, priority_tag<1>) |
344 | | -> remove_cvref_t<decltype((void)beg.batch_advance(42), it)> |
345 | | { |
346 | | return beg.batch_advance(it.position() - 1); |
347 | | } |
348 | | |
349 | | template <typename It> |
350 | | static constexpr auto impl(It it, It beg, priority_tag<0>) |
351 | | -> std::enable_if_t<forward_iterator<It>, It> |
352 | | { |
353 | | SCN_EXPECT(it != beg); |
354 | | |
355 | | while (true) { |
356 | | auto tmp = beg; |
357 | | ++beg; |
358 | | if (beg == it) { |
359 | | return tmp; |
360 | | } |
361 | | } |
362 | | } |
363 | | |
364 | | public: |
365 | | template <typename It> |
366 | | constexpr auto operator()(It it, It beg) const |
367 | | -> decltype(fn::impl(it, beg, priority_tag<2>{})) |
368 | | { |
369 | | return fn::impl(it, beg, priority_tag<2>{}); |
370 | | } |
371 | | }; |
372 | | } // namespace detail::prev_backtrack_ |
373 | | |
374 | | inline constexpr auto prev_backtrack = detail::prev_backtrack_::fn{}; |
375 | | |
376 | | // operator<, for forward_iterators |
377 | | namespace detail::less_backtrack_ { |
378 | | struct fn { |
379 | | private: |
380 | | template <typename It> |
381 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<2>) |
382 | | -> decltype(static_cast<void>(lhs < rhs), true) |
383 | | { |
384 | | return lhs < rhs; |
385 | | } |
386 | | |
387 | | template <typename It> |
388 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<1>) |
389 | | -> decltype(static_cast<void>(lhs.position() < rhs.position()), true) |
390 | | { |
391 | | return lhs.position() < rhs.position(); |
392 | | } |
393 | | |
394 | | template <typename It> |
395 | | static constexpr auto impl(It lhs, It rhs, It beg, priority_tag<0>) |
396 | | -> std::enable_if_t<ranges::forward_iterator<It>, bool> |
397 | | { |
398 | | while (true) { |
399 | | if (beg == rhs) { |
400 | | return false; |
401 | | } |
402 | | if (beg == lhs) { |
403 | | return true; |
404 | | } |
405 | | ++beg; |
406 | | } |
407 | | } |
408 | | |
409 | | public: |
410 | | template <typename It> |
411 | | constexpr auto operator()(It lhs, It rhs, It beg) const |
412 | | -> decltype(fn::impl(lhs, rhs, beg, priority_tag<2>{})) |
413 | | { |
414 | | return fn::impl(lhs, rhs, beg, priority_tag<2>{}); |
415 | | } |
416 | | }; |
417 | | } // namespace detail::less_backtrack_ |
418 | | |
419 | | inline constexpr auto less_backtrack = detail::less_backtrack_::fn{}; |
420 | | |
421 | | } // namespace ranges |
422 | | |
423 | | ///////////////////////////////////////////////////////////////// |
424 | | // ASCII-only locale-free <cctype> |
425 | | ///////////////////////////////////////////////////////////////// |
426 | | |
427 | | namespace impl { |
428 | | inline constexpr std::array<bool, 256> is_ascii_space_lookup = { |
429 | | {false, false, false, false, false, false, false, false, false, true, |
430 | | true, true, true, true, false, false, false, false, false, false, |
431 | | false, false, false, false, false, false, false, false, false, false, |
432 | | false, false, true, false, false, false, false, false, false, false, |
433 | | false, false, false, false, false, false, false, false, false, false, |
434 | | false, false, false, false, false, false, false, false, false, false, |
435 | | false, false, false, false, false, false, false, false, false, false, |
436 | | false, false, false, false, false, false, false, false, false, false, |
437 | | false, false, false, false, false, false, false, false, false, false, |
438 | | false, false, false, false, false, false, false, false, false, false, |
439 | | false, false, false, false, false, false, false, false, false, false, |
440 | | false, false, false, false, false, false, false, false, false, false, |
441 | | false, false, false, false, false, false, false, false, false, false, |
442 | | false, false, false, false, false, false, false, false, false, false, |
443 | | false, false, false, false, false, false, false, false, false, false, |
444 | | false, false, false, false, false, false, false, false, false, false, |
445 | | false, false, false, false, false, false, false, false, false, false, |
446 | | false, false, false, false, false, false, false, false, false, false, |
447 | | false, false, false, false, false, false, false, false, false, false, |
448 | | false, false, false, false, false, false, false, false, false, false, |
449 | | false, false, false, false, false, false, false, false, false, false, |
450 | | false, false, false, false, false, false, false, false, false, false, |
451 | | false, false, false, false, false, false, false, false, false, false, |
452 | | false, false, false, false, false, false, false, false, false, false, |
453 | | false, false, false, false, false, false, false, false, false, false, |
454 | | false, false, false, false, false, false}}; |
455 | | |
456 | | constexpr bool is_ascii_space(char ch) noexcept |
457 | 61.0k | { |
458 | 61.0k | return is_ascii_space_lookup[static_cast<size_t>( |
459 | 61.0k | static_cast<unsigned char>(ch))]; |
460 | 61.0k | } |
461 | | |
462 | | constexpr bool is_ascii_space(wchar_t ch) noexcept |
463 | 0 | { |
464 | 0 | return ch == 0x20 || (ch >= 0x09 && ch <= 0x0d); |
465 | 0 | } |
466 | | |
467 | | constexpr bool is_ascii_char(char ch) noexcept |
468 | 651k | { |
469 | 651k | return static_cast<unsigned char>(ch) <= 127; |
470 | 651k | } |
471 | | |
472 | | constexpr bool is_ascii_char(wchar_t ch) noexcept |
473 | 1.60k | { |
474 | 1.60k | #if WCHAR_MIN < 0 |
475 | 1.60k | return ch >= 0 && ch <= 127; |
476 | | #else |
477 | | return ch <= 127; |
478 | | #endif |
479 | 1.60k | } |
480 | | |
481 | | constexpr bool is_ascii_char(char32_t cp) noexcept |
482 | 736k | { |
483 | 736k | return cp <= 127; |
484 | 736k | } |
485 | | |
486 | | ///////////////////////////////////////////////////////////////// |
487 | | // <bits> |
488 | | ///////////////////////////////////////////////////////////////// |
489 | | |
490 | | inline int count_trailing_zeroes(uint64_t val) |
491 | 0 | { |
492 | 0 | SCN_EXPECT(val != 0); |
493 | 0 | #if SCN_HAS_BITOPS |
494 | 0 | return std::countr_zero(val); |
495 | 0 | #elif SCN_GCC_COMPAT |
496 | 0 | return __builtin_ctzll(val); |
497 | 0 | #elif SCN_MSVC && SCN_WINDOWS_64BIT |
498 | 0 | DWORD ret{}; |
499 | 0 | _BitScanForward64(&ret, val); |
500 | 0 | return static_cast<int>(ret); |
501 | 0 | #elif SCN_MSVC && !SCN_WINDOWS_64BIT |
502 | 0 | DWORD ret{}; |
503 | 0 | if (_BitScanForward(&ret, static_cast<uint32_t>(val))) { |
504 | 0 | return static_cast<int>(ret); |
505 | 0 | } |
506 | 0 |
|
507 | 0 | _BitScanForward(&ret, static_cast<uint32_t>(val >> 32)); |
508 | 0 | return static_cast<int>(ret + 32); |
509 | 0 | #elif SCN_POSIX |
510 | 0 | return ::ctzll(val); |
511 | 0 | #else |
512 | 0 | #define SCN_HAS_BITS_CTZ 0 |
513 | 0 | SCN_EXPECT(false); |
514 | 0 | SCN_UNREACHABLE; |
515 | 0 | #endif |
516 | 0 | } |
517 | | |
518 | | #ifndef SCN_HAS_BITS_CTZ |
519 | | #define SCN_HAS_BITS_CTZ 1 |
520 | | #endif |
521 | | |
522 | | constexpr uint64_t has_zero_byte(uint64_t word) |
523 | 0 | { |
524 | 0 | return (word - 0x0101010101010101ull) & ~word & 0x8080808080808080ull; |
525 | 0 | } |
526 | | |
527 | | constexpr uint64_t has_byte_between(uint64_t word, uint8_t a, uint8_t b) |
528 | 0 | { |
529 | 0 | const auto m = static_cast<uint64_t>(a) - 1, |
530 | 0 | n = static_cast<uint64_t>(b) + 1; |
531 | 0 | return (((~0ull / 255 * (127 + (n)) - ((word) & ~0ull / 255 * 127)) & |
532 | 0 | ~(word) & |
533 | 0 | (((word) & ~0ull / 255 * 127) + ~0ull / 255 * (127 - (m)))) & |
534 | 0 | (~0ull / 255 * 128)); |
535 | 0 | } |
536 | | |
537 | | constexpr uint64_t has_byte_greater(uint64_t word, uint8_t n) |
538 | 48.7k | { |
539 | 48.7k | return (word + ~0ull / 255 * (127 - n) | word) & ~0ull / 255 * 128; |
540 | 48.7k | } |
541 | | |
542 | | inline size_t get_index_of_first_nonmatching_byte(uint64_t word) |
543 | 0 | { |
544 | 0 | word ^= 0x8080808080808080ull; |
545 | 0 | if (word == 0) { |
546 | 0 | return 8; |
547 | 0 | } |
548 | 0 | return static_cast<size_t>(count_trailing_zeroes(word)) / 8; |
549 | 0 | } |
550 | | |
551 | | inline size_t get_index_of_first_matching_byte(uint64_t word, uint64_t pattern) |
552 | 0 | { |
553 | 0 | constexpr auto mask = 0x7f7f7f7f7f7f7f7full; |
554 | 0 | auto input = word ^ pattern; |
555 | 0 | auto tmp = (input & mask) + mask; |
556 | 0 | tmp = ~(tmp | input | mask); |
557 | 0 | return static_cast<size_t>(count_trailing_zeroes(tmp)) / 8; |
558 | 0 | } |
559 | | |
560 | | constexpr uint32_t log2_fast(uint32_t val) |
561 | 0 | { |
562 | 0 | constexpr uint8_t lookup[] = {0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, |
563 | 0 | 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, |
564 | 0 | 24, 7, 19, 27, 23, 6, 26, 5, 4, 31}; |
565 | 0 |
|
566 | 0 | val |= val >> 1; |
567 | 0 | val |= val >> 2; |
568 | 0 | val |= val >> 4; |
569 | 0 | val |= val >> 8; |
570 | 0 | val |= val >> 16; |
571 | 0 |
|
572 | 0 | return static_cast<uint32_t>(lookup[(val * 0x07c4acddu) >> 27]); |
573 | 0 | } |
574 | | |
575 | | constexpr uint32_t log2_pow2_fast(uint32_t val) |
576 | 0 | { |
577 | 0 | constexpr uint8_t lookup[] = {0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, |
578 | 0 | 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, |
579 | 0 | 16, 7, 26, 12, 18, 6, 11, 5, 10, 9}; |
580 | 0 |
|
581 | 0 | return static_cast<uint32_t>(lookup[(val * 0x077cb531u) >> 27]); |
582 | 0 | } |
583 | | |
584 | | constexpr uint64_t byteswap(uint64_t val) |
585 | 0 | { |
586 | 0 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |
587 | 0 | (val & 0x0000FF0000000000) >> 24 | (val & 0x000000FF00000000) >> 8 | |
588 | 0 | (val & 0x00000000FF000000) << 8 | (val & 0x0000000000FF0000) << 24 | |
589 | 0 | (val & 0x000000000000FF00) << 40 | (val & 0x00000000000000FF) << 56; |
590 | 0 | } |
591 | | |
592 | | ///////////////////////////////////////////////////////////////// |
593 | | // <function_ref> |
594 | | ///////////////////////////////////////////////////////////////// |
595 | | |
596 | | namespace fnref_detail { |
597 | | template <class T> |
598 | | inline constexpr auto select_param_type = [] { |
599 | | if constexpr (std::is_trivially_copyable_v<T>) { |
600 | | return detail::type_identity<T>(); |
601 | | } |
602 | | else { |
603 | | return std::add_rvalue_reference<T>(); |
604 | | } |
605 | | }; |
606 | | |
607 | | template <class T> |
608 | | using param_t = |
609 | | typename std::invoke_result_t<decltype(select_param_type<T>)>::type; |
610 | | |
611 | | template <typename Sig> |
612 | | struct qual_fn_sig; |
613 | | |
614 | | template <typename R, typename... Args> |
615 | | struct qual_fn_sig<R(Args...)> { |
616 | | using function = R(Args...); |
617 | | |
618 | | static constexpr bool is_noexcept = false; |
619 | | |
620 | | template <typename... T> |
621 | | static constexpr bool is_invocable_using = |
622 | | std::is_invocable_r_v<R, T..., Args...>; |
623 | | |
624 | | template <typename T> |
625 | | using cv = T; |
626 | | }; |
627 | | |
628 | | template <typename R, typename... Args> |
629 | | struct qual_fn_sig<R(Args...) noexcept> { |
630 | | using function = R(Args...); |
631 | | |
632 | | static constexpr bool is_noexcept = true; |
633 | | |
634 | | template <typename... T> |
635 | | static constexpr bool is_invocable_using = |
636 | | std::is_nothrow_invocable_r_v<R, T..., Args...>; |
637 | | |
638 | | template <typename T> |
639 | | using cv = T; |
640 | | }; |
641 | | |
642 | | template <typename R, typename... Args> |
643 | | struct qual_fn_sig<R(Args...) const> : qual_fn_sig<R(Args...)> { |
644 | | template <typename T> |
645 | | using cv = T const; |
646 | | }; |
647 | | |
648 | | template <typename R, typename... Args> |
649 | | struct qual_fn_sig<R(Args...) const noexcept> |
650 | | : qual_fn_sig<R(Args...) noexcept> { |
651 | | template <typename T> |
652 | | using cv = T const; |
653 | | }; |
654 | | |
655 | | struct base { |
656 | | union storage { |
657 | | constexpr storage() = default; |
658 | | |
659 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
660 | 101k | constexpr explicit storage(T* p) noexcept : m_p(p) |
661 | 101k | { |
662 | 101k | } _ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbcES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 6.97k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6.97k | { | 662 | 6.97k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbDiES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 26.3k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 26.3k | { | 662 | 26.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 29.7k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 29.7k | { | 662 | 29.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 868 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 868 | { | 662 | 868 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 540 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 540 | { | 662 | 540 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 4 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 4 | { | 662 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 288 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 288 | { | 662 | 288 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 26 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 26 | { | 662 | 26 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 284 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 284 | { | 662 | 284 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 10 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 10 | { | 662 | 10 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 280 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 280 | { | 662 | 280 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 804 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 804 | { | 662 | 804 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 34 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 34 | { | 662 | 34 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 34 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 34 | { | 662 | 34 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 34 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 34 | { | 662 | 34 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbwES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 1.59k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.59k | { | 662 | 1.59k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 5.65k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 5.65k | { | 662 | 5.65k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 4.35k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 4.35k | { | 662 | 4.35k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 536 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 536 | { | 662 | 536 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 304 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 304 | { | 662 | 304 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 13.3k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 13.3k | { | 662 | 13.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 176 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 176 | { | 662 | 176 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 10 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 10 | { | 662 | 10 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 172 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 172 | { | 662 | 172 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 18 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 18 | { | 662 | 18 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 356 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 356 | { | 662 | 356 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 486 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 486 | { | 662 | 486 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 20 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 20 | { | 662 | 20 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 2.89k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.89k | { | 662 | 2.89k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 20 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 20 | { | 662 | 20 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 20 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 20 | { | 662 | 20 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 656 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 656 | { | 662 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 2.13k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.13k | { | 662 | 2.13k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 612 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 612 | { | 662 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 1.28k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.28k | { | 662 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ |
663 | | |
664 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
665 | 12.1k | constexpr explicit storage(const T* p) noexcept : m_cp(p) |
666 | 12.1k | { |
667 | 12.1k | } Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 4.93k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 4.93k | { | 667 | 4.93k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 462 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 462 | { | 667 | 462 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 312 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 312 | { | 667 | 312 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 4.07k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 4.07k | { | 667 | 4.07k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 276 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 276 | { | 667 | 276 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 540 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 540 | { | 667 | 540 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 186 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 186 | { | 667 | 186 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 102 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 102 | { | 667 | 102 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 348 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 348 | { | 667 | 348 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 96 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 96 | { | 667 | 96 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 542 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 542 | { | 667 | 542 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 234 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 234 | { | 667 | 234 | } |
|
668 | | |
669 | | template <typename F, |
670 | | std::enable_if_t<std::is_function_v<F>>* = nullptr> |
671 | | constexpr explicit storage(F* f) noexcept |
672 | | : m_fp(reinterpret_cast<decltype(m_fp)>(f)) |
673 | | { |
674 | | } |
675 | | |
676 | | void* m_p{nullptr}; |
677 | | const void* m_cp; |
678 | | void (*m_fp)(); |
679 | | }; |
680 | | |
681 | | template <typename T> |
682 | | static constexpr auto get(storage s) |
683 | 1.73M | { |
684 | 1.73M | if constexpr (std::is_const_v<T>) { |
685 | 755k | return static_cast<T*>(s.m_cp); |
686 | | } |
687 | 980k | else if constexpr (std::is_object_v<T>) { |
688 | 980k | return static_cast<T*>(s.m_p); |
689 | | } |
690 | | else { |
691 | | return reinterpret_cast<T*>(s.m_fp); |
692 | | } |
693 | 1.73M | } auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (char), bool (char)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 10.9k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 10.9k | else if constexpr (std::is_object_v<T>) { | 688 | 10.9k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 10.9k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlcE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (char32_t), bool (char32_t)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 758k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 758k | else if constexpr (std::is_object_v<T>) { | 688 | 758k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 758k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlcE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}>(scn::v3::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 70.0k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 70.0k | else if constexpr (std::is_object_v<T>) { | 688 | 70.0k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 70.0k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIcNS6_11char_traitsIcEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 868 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 868 | else if constexpr (std::is_object_v<T>) { | 688 | 868 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 868 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 5.36k | { | 684 | 5.36k | if constexpr (std::is_const_v<T>) { | 685 | 5.36k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 5.36k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.72k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.72k | else if constexpr (std::is_object_v<T>) { | 688 | 1.72k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.72k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 4 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 4 | else if constexpr (std::is_object_v<T>) { | 688 | 4 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 288 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 288 | else if constexpr (std::is_object_v<T>) { | 688 | 288 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 288 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 26 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 26 | else if constexpr (std::is_object_v<T>) { | 688 | 26 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 26 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 284 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 284 | else if constexpr (std::is_object_v<T>) { | 688 | 284 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 284 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 10 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 10 | else if constexpr (std::is_object_v<T>) { | 688 | 10 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 10 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 280 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 280 | else if constexpr (std::is_object_v<T>) { | 688 | 280 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 280 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 10.5k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 10.5k | else if constexpr (std::is_object_v<T>) { | 688 | 10.5k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 10.5k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 782 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 782 | else if constexpr (std::is_object_v<T>) { | 688 | 782 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 782 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 29.3k | { | 684 | 29.3k | if constexpr (std::is_const_v<T>) { | 685 | 29.3k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 29.3k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 6.27k | { | 684 | 6.27k | if constexpr (std::is_const_v<T>) { | 685 | 6.27k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.27k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 442 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 442 | else if constexpr (std::is_object_v<T>) { | 688 | 442 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 442 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 700k | { | 684 | 700k | if constexpr (std::is_const_v<T>) { | 685 | 700k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 700k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.48k | { | 684 | 3.48k | if constexpr (std::is_const_v<T>) { | 685 | 3.48k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.48k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 782 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 782 | else if constexpr (std::is_object_v<T>) { | 688 | 782 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 782 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 442 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 442 | else if constexpr (std::is_object_v<T>) { | 688 | 442 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 442 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 782 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 782 | else if constexpr (std::is_object_v<T>) { | 688 | 782 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 782 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 442 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 442 | else if constexpr (std::is_object_v<T>) { | 688 | 442 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 442 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (wchar_t), bool (wchar_t)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 3.14k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.14k | else if constexpr (std::is_object_v<T>) { | 688 | 3.14k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.14k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlwE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}>(scn::v3::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 8.27k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8.27k | else if constexpr (std::is_object_v<T>) { | 688 | 8.27k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8.27k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.80k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.80k | else if constexpr (std::is_object_v<T>) { | 688 | 7.80k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.80k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 536 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 536 | else if constexpr (std::is_object_v<T>) { | 688 | 536 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 536 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 990 | { | 684 | 990 | if constexpr (std::is_const_v<T>) { | 685 | 990 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 990 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 418 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 418 | else if constexpr (std::is_object_v<T>) { | 688 | 418 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 418 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 19.5k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 19.5k | else if constexpr (std::is_object_v<T>) { | 688 | 19.5k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 19.5k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 176 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 176 | else if constexpr (std::is_object_v<T>) { | 688 | 176 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 176 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 10 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 10 | else if constexpr (std::is_object_v<T>) { | 688 | 10 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 10 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 172 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 172 | else if constexpr (std::is_object_v<T>) { | 688 | 172 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 172 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 18 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 18 | else if constexpr (std::is_object_v<T>) { | 688 | 18 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 18 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 356 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 356 | else if constexpr (std::is_object_v<T>) { | 688 | 356 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 356 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 15.0k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 15.0k | else if constexpr (std::is_object_v<T>) { | 688 | 15.0k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 15.0k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 350 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 350 | else if constexpr (std::is_object_v<T>) { | 688 | 350 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 350 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.03k | { | 684 | 1.03k | if constexpr (std::is_const_v<T>) { | 685 | 1.03k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.03k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 336 | { | 684 | 336 | if constexpr (std::is_const_v<T>) { | 685 | 336 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 336 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 59.5k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 59.5k | else if constexpr (std::is_object_v<T>) { | 688 | 59.5k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 59.5k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 5.67k | { | 684 | 5.67k | if constexpr (std::is_const_v<T>) { | 685 | 5.67k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 5.67k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.27k | { | 684 | 1.27k | if constexpr (std::is_const_v<T>) { | 685 | 1.27k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.27k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 350 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 350 | else if constexpr (std::is_object_v<T>) { | 688 | 350 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 350 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 350 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 350 | else if constexpr (std::is_object_v<T>) { | 688 | 350 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 350 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 656 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 656 | else if constexpr (std::is_object_v<T>) { | 688 | 656 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 724 | { | 684 | 724 | if constexpr (std::is_const_v<T>) { | 685 | 724 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 724 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.20k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.20k | else if constexpr (std::is_object_v<T>) { | 688 | 3.20k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.20k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 612 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 612 | else if constexpr (std::is_object_v<T>) { | 688 | 612 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 280 | { | 684 | 280 | if constexpr (std::is_const_v<T>) { | 685 | 280 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 280 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.28k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.28k | else if constexpr (std::is_object_v<T>) { | 688 | 1.28k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE |
694 | | }; |
695 | | } // namespace fnref_detail |
696 | | |
697 | | template <typename Sig, |
698 | | typename = typename fnref_detail::qual_fn_sig<Sig>::function> |
699 | | class function_ref; |
700 | | |
701 | | template <typename Sig, typename R, typename... Args> |
702 | | class function_ref<Sig, R(Args...)> : fnref_detail::base { |
703 | | using signature = fnref_detail::qual_fn_sig<Sig>; |
704 | | |
705 | | template <typename T> |
706 | | using cv = typename signature::template cv<T>; |
707 | | template <typename T> |
708 | | using cvref = cv<T>&; |
709 | | static constexpr bool noex = signature::is_noexcept; |
710 | | |
711 | | template <typename... T> |
712 | | static constexpr bool is_invocable_using = |
713 | | signature::template is_invocable_using<T...>; |
714 | | |
715 | | using fwd_t = R(storage, fnref_detail::param_t<Args>...) noexcept(noex); |
716 | | |
717 | | public: |
718 | | template <typename F, |
719 | | std::enable_if_t<std::is_function_v<F> && |
720 | | is_invocable_using<F>>* = nullptr> |
721 | | /*implicit*/ function_ref(F* f) noexcept |
722 | | : m_fptr([](storage fn, |
723 | | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
724 | | if constexpr (std::is_void_v<R>) { |
725 | | get<F>(fn)(static_cast<decltype(args)>(args)...); |
726 | | } |
727 | | else { |
728 | | return get<F>(fn)(static_cast<decltype(args)>(args)...); |
729 | | } |
730 | | }), |
731 | | m_storage(f) |
732 | | { |
733 | | SCN_EXPECT(f != nullptr); |
734 | | } |
735 | | |
736 | | template <typename F, |
737 | | typename T = std::remove_reference_t<F>, |
738 | | std::enable_if_t<detail::is_not_self<F, function_ref> && |
739 | | !std::is_member_pointer_v<T> && |
740 | | is_invocable_using<cvref<T>>>* = nullptr> |
741 | | /*implicit*/ constexpr function_ref(F&& f) noexcept |
742 | 113k | : m_fptr([](storage fn, |
743 | 1.73M | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
744 | 1.73M | cvref<T> obj = *get<T>(fn); |
745 | 1.73M | if constexpr (std::is_void_v<R>) { |
746 | 78.3k | obj(static_cast<decltype(args)>(args)...); |
747 | | } |
748 | 1.65M | else { |
749 | 1.65M | return obj(static_cast<decltype(args)>(args)...); |
750 | 1.65M | } |
751 | 1.73M | }), _ZZN3scn2v34impl12function_refIFbcES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEcE_clESK_c Line | Count | Source | 743 | 10.9k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10.9k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 10.9k | else { | 749 | 10.9k | return obj(static_cast<decltype(args)>(args)...); | 750 | 10.9k | } | 751 | 10.9k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES17_c _ZZN3scn2v34impl12function_refIFbDiES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEDiE_clESK_Di Line | Count | Source | 743 | 758k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 758k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 758k | else { | 749 | 758k | return obj(static_cast<decltype(args)>(args)...); | 750 | 758k | } | 751 | 758k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v34impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 70.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 70.0k | cvref<T> obj = *get<T>(fn); | 745 | 70.0k | if constexpr (std::is_void_v<R>) { | 746 | 70.0k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 70.0k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c Line | Count | Source | 743 | 868 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 868 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 868 | else { | 749 | 868 | return obj(static_cast<decltype(args)>(args)...); | 750 | 868 | } | 751 | 868 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 5.36k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.36k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 5.36k | else { | 749 | 5.36k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.36k | } | 751 | 5.36k | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 1.72k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.72k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.72k | else { | 749 | 1.72k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.72k | } | 751 | 1.72k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 4 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4 | else { | 749 | 4 | return obj(static_cast<decltype(args)>(args)...); | 750 | 4 | } | 751 | 4 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1A_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 288 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 288 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 288 | else { | 749 | 288 | return obj(static_cast<decltype(args)>(args)...); | 750 | 288 | } | 751 | 288 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEcE_clES12_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Line | Count | Source | 743 | 26 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 26 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 26 | else { | 749 | 26 | return obj(static_cast<decltype(args)>(args)...); | 750 | 26 | } | 751 | 26 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 284 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 284 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 284 | else { | 749 | 284 | return obj(static_cast<decltype(args)>(args)...); | 750 | 284 | } | 751 | 284 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 10 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 10 | else { | 749 | 10 | return obj(static_cast<decltype(args)>(args)...); | 750 | 10 | } | 751 | 10 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 280 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 280 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 280 | else { | 749 | 280 | return obj(static_cast<decltype(args)>(args)...); | 750 | 280 | } | 751 | 280 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 10.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10.5k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 10.5k | else { | 749 | 10.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 10.5k | } | 751 | 10.5k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 782 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 782 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 782 | else { | 749 | 782 | return obj(static_cast<decltype(args)>(args)...); | 750 | 782 | } | 751 | 782 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 29.3k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 29.3k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 29.3k | else { | 749 | 29.3k | return obj(static_cast<decltype(args)>(args)...); | 750 | 29.3k | } | 751 | 29.3k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 6.27k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.27k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.27k | else { | 749 | 6.27k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.27k | } | 751 | 6.27k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 442 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 442 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 442 | else { | 749 | 442 | return obj(static_cast<decltype(args)>(args)...); | 750 | 442 | } | 751 | 442 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 700k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 700k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 700k | else { | 749 | 700k | return obj(static_cast<decltype(args)>(args)...); | 750 | 700k | } | 751 | 700k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 3.48k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.48k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.48k | else { | 749 | 3.48k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.48k | } | 751 | 3.48k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 782 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 782 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 782 | else { | 749 | 782 | return obj(static_cast<decltype(args)>(args)...); | 750 | 782 | } | 751 | 782 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 442 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 442 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 442 | else { | 749 | 442 | return obj(static_cast<decltype(args)>(args)...); | 750 | 442 | } | 751 | 442 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 782 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 782 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 782 | else { | 749 | 782 | return obj(static_cast<decltype(args)>(args)...); | 750 | 782 | } | 751 | 782 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Line | Count | Source | 743 | 442 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 442 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 442 | else { | 749 | 442 | return obj(static_cast<decltype(args)>(args)...); | 750 | 442 | } | 751 | 442 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v34impl12function_refIFbwES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEwE_clESK_w Line | Count | Source | 743 | 3.14k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.14k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.14k | else { | 749 | 3.14k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.14k | } | 751 | 3.14k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES17_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v34impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 8.27k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8.27k | cvref<T> obj = *get<T>(fn); | 745 | 8.27k | if constexpr (std::is_void_v<R>) { | 746 | 8.27k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 8.27k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 7.80k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.80k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.80k | else { | 749 | 7.80k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.80k | } | 751 | 7.80k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w Line | Count | Source | 743 | 536 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 536 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 536 | else { | 749 | 536 | return obj(static_cast<decltype(args)>(args)...); | 750 | 536 | } | 751 | 536 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 990 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 990 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 990 | else { | 749 | 990 | return obj(static_cast<decltype(args)>(args)...); | 750 | 990 | } | 751 | 990 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 418 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 418 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 418 | else { | 749 | 418 | return obj(static_cast<decltype(args)>(args)...); | 750 | 418 | } | 751 | 418 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 19.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 19.5k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 19.5k | else { | 749 | 19.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 19.5k | } | 751 | 19.5k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1A_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 176 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 176 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 176 | else { | 749 | 176 | return obj(static_cast<decltype(args)>(args)...); | 750 | 176 | } | 751 | 176 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEwE_clES12_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 10 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 10 | else { | 749 | 10 | return obj(static_cast<decltype(args)>(args)...); | 750 | 10 | } | 751 | 10 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 172 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 172 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 172 | else { | 749 | 172 | return obj(static_cast<decltype(args)>(args)...); | 750 | 172 | } | 751 | 172 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 18 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 18 | else { | 749 | 18 | return obj(static_cast<decltype(args)>(args)...); | 750 | 18 | } | 751 | 18 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 356 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 356 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 356 | else { | 749 | 356 | return obj(static_cast<decltype(args)>(args)...); | 750 | 356 | } | 751 | 356 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 15.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 15.0k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 15.0k | else { | 749 | 15.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 15.0k | } | 751 | 15.0k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 350 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 350 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 350 | else { | 749 | 350 | return obj(static_cast<decltype(args)>(args)...); | 750 | 350 | } | 751 | 350 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 1.03k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.03k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.03k | else { | 749 | 1.03k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.03k | } | 751 | 1.03k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 336 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 336 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 336 | else { | 749 | 336 | return obj(static_cast<decltype(args)>(args)...); | 750 | 336 | } | 751 | 336 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 59.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 59.5k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 59.5k | else { | 749 | 59.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 59.5k | } | 751 | 59.5k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 5.67k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.67k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 5.67k | else { | 749 | 5.67k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.67k | } | 751 | 5.67k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 1.27k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.27k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.27k | else { | 749 | 1.27k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.27k | } | 751 | 1.27k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 350 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 350 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 350 | else { | 749 | 350 | return obj(static_cast<decltype(args)>(args)...); | 750 | 350 | } | 751 | 350 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 350 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 350 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 350 | else { | 749 | 350 | return obj(static_cast<decltype(args)>(args)...); | 750 | 350 | } | 751 | 350 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 656 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 656 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 656 | else { | 749 | 656 | return obj(static_cast<decltype(args)>(args)...); | 750 | 656 | } | 751 | 656 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 724 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 724 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 724 | else { | 749 | 724 | return obj(static_cast<decltype(args)>(args)...); | 750 | 724 | } | 751 | 724 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 3.20k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.20k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.20k | else { | 749 | 3.20k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.20k | } | 751 | 3.20k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 612 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 612 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 612 | else { | 749 | 612 | return obj(static_cast<decltype(args)>(args)...); | 750 | 612 | } | 751 | 612 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 280 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 280 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 280 | else { | 749 | 280 | return obj(static_cast<decltype(args)>(args)...); | 750 | 280 | } | 751 | 280 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 1.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.28k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.28k | else { | 749 | 1.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.28k | } | 751 | 1.28k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ |
752 | 113k | m_storage(std::addressof(f)) |
753 | 113k | { |
754 | 113k | } _ZN3scn2v34impl12function_refIFbcES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 6.97k | : m_fptr([](storage fn, | 743 | 6.97k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.97k | cvref<T> obj = *get<T>(fn); | 745 | 6.97k | if constexpr (std::is_void_v<R>) { | 746 | 6.97k | obj(static_cast<decltype(args)>(args)...); | 747 | 6.97k | } | 748 | 6.97k | else { | 749 | 6.97k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.97k | } | 751 | 6.97k | }), | 752 | 6.97k | m_storage(std::addressof(f)) | 753 | 6.97k | { | 754 | 6.97k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 26.3k | : m_fptr([](storage fn, | 743 | 26.3k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 26.3k | cvref<T> obj = *get<T>(fn); | 745 | 26.3k | if constexpr (std::is_void_v<R>) { | 746 | 26.3k | obj(static_cast<decltype(args)>(args)...); | 747 | 26.3k | } | 748 | 26.3k | else { | 749 | 26.3k | return obj(static_cast<decltype(args)>(args)...); | 750 | 26.3k | } | 751 | 26.3k | }), | 752 | 26.3k | m_storage(std::addressof(f)) | 753 | 26.3k | { | 754 | 26.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v34impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 29.7k | : m_fptr([](storage fn, | 743 | 29.7k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 29.7k | cvref<T> obj = *get<T>(fn); | 745 | 29.7k | if constexpr (std::is_void_v<R>) { | 746 | 29.7k | obj(static_cast<decltype(args)>(args)...); | 747 | 29.7k | } | 748 | 29.7k | else { | 749 | 29.7k | return obj(static_cast<decltype(args)>(args)...); | 750 | 29.7k | } | 751 | 29.7k | }), | 752 | 29.7k | m_storage(std::addressof(f)) | 753 | 29.7k | { | 754 | 29.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 868 | : m_fptr([](storage fn, | 743 | 868 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 868 | cvref<T> obj = *get<T>(fn); | 745 | 868 | if constexpr (std::is_void_v<R>) { | 746 | 868 | obj(static_cast<decltype(args)>(args)...); | 747 | 868 | } | 748 | 868 | else { | 749 | 868 | return obj(static_cast<decltype(args)>(args)...); | 750 | 868 | } | 751 | 868 | }), | 752 | 868 | m_storage(std::addressof(f)) | 753 | 868 | { | 754 | 868 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 4.93k | : m_fptr([](storage fn, | 743 | 4.93k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.93k | cvref<T> obj = *get<T>(fn); | 745 | 4.93k | if constexpr (std::is_void_v<R>) { | 746 | 4.93k | obj(static_cast<decltype(args)>(args)...); | 747 | 4.93k | } | 748 | 4.93k | else { | 749 | 4.93k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.93k | } | 751 | 4.93k | }), | 752 | 4.93k | m_storage(std::addressof(f)) | 753 | 4.93k | { | 754 | 4.93k | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 540 | : m_fptr([](storage fn, | 743 | 540 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 540 | cvref<T> obj = *get<T>(fn); | 745 | 540 | if constexpr (std::is_void_v<R>) { | 746 | 540 | obj(static_cast<decltype(args)>(args)...); | 747 | 540 | } | 748 | 540 | else { | 749 | 540 | return obj(static_cast<decltype(args)>(args)...); | 750 | 540 | } | 751 | 540 | }), | 752 | 540 | m_storage(std::addressof(f)) | 753 | 540 | { | 754 | 540 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 4 | : m_fptr([](storage fn, | 743 | 4 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4 | cvref<T> obj = *get<T>(fn); | 745 | 4 | if constexpr (std::is_void_v<R>) { | 746 | 4 | obj(static_cast<decltype(args)>(args)...); | 747 | 4 | } | 748 | 4 | else { | 749 | 4 | return obj(static_cast<decltype(args)>(args)...); | 750 | 4 | } | 751 | 4 | }), | 752 | 4 | m_storage(std::addressof(f)) | 753 | 4 | { | 754 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 288 | : m_fptr([](storage fn, | 743 | 288 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 288 | cvref<T> obj = *get<T>(fn); | 745 | 288 | if constexpr (std::is_void_v<R>) { | 746 | 288 | obj(static_cast<decltype(args)>(args)...); | 747 | 288 | } | 748 | 288 | else { | 749 | 288 | return obj(static_cast<decltype(args)>(args)...); | 750 | 288 | } | 751 | 288 | }), | 752 | 288 | m_storage(std::addressof(f)) | 753 | 288 | { | 754 | 288 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 26 | : m_fptr([](storage fn, | 743 | 26 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 26 | cvref<T> obj = *get<T>(fn); | 745 | 26 | if constexpr (std::is_void_v<R>) { | 746 | 26 | obj(static_cast<decltype(args)>(args)...); | 747 | 26 | } | 748 | 26 | else { | 749 | 26 | return obj(static_cast<decltype(args)>(args)...); | 750 | 26 | } | 751 | 26 | }), | 752 | 26 | m_storage(std::addressof(f)) | 753 | 26 | { | 754 | 26 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 284 | : m_fptr([](storage fn, | 743 | 284 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 284 | cvref<T> obj = *get<T>(fn); | 745 | 284 | if constexpr (std::is_void_v<R>) { | 746 | 284 | obj(static_cast<decltype(args)>(args)...); | 747 | 284 | } | 748 | 284 | else { | 749 | 284 | return obj(static_cast<decltype(args)>(args)...); | 750 | 284 | } | 751 | 284 | }), | 752 | 284 | m_storage(std::addressof(f)) | 753 | 284 | { | 754 | 284 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 10 | : m_fptr([](storage fn, | 743 | 10 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10 | cvref<T> obj = *get<T>(fn); | 745 | 10 | if constexpr (std::is_void_v<R>) { | 746 | 10 | obj(static_cast<decltype(args)>(args)...); | 747 | 10 | } | 748 | 10 | else { | 749 | 10 | return obj(static_cast<decltype(args)>(args)...); | 750 | 10 | } | 751 | 10 | }), | 752 | 10 | m_storage(std::addressof(f)) | 753 | 10 | { | 754 | 10 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 280 | : m_fptr([](storage fn, | 743 | 280 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 280 | cvref<T> obj = *get<T>(fn); | 745 | 280 | if constexpr (std::is_void_v<R>) { | 746 | 280 | obj(static_cast<decltype(args)>(args)...); | 747 | 280 | } | 748 | 280 | else { | 749 | 280 | return obj(static_cast<decltype(args)>(args)...); | 750 | 280 | } | 751 | 280 | }), | 752 | 280 | m_storage(std::addressof(f)) | 753 | 280 | { | 754 | 280 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 804 | : m_fptr([](storage fn, | 743 | 804 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 804 | cvref<T> obj = *get<T>(fn); | 745 | 804 | if constexpr (std::is_void_v<R>) { | 746 | 804 | obj(static_cast<decltype(args)>(args)...); | 747 | 804 | } | 748 | 804 | else { | 749 | 804 | return obj(static_cast<decltype(args)>(args)...); | 750 | 804 | } | 751 | 804 | }), | 752 | 804 | m_storage(std::addressof(f)) | 753 | 804 | { | 754 | 804 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 34 | : m_fptr([](storage fn, | 743 | 34 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 34 | cvref<T> obj = *get<T>(fn); | 745 | 34 | if constexpr (std::is_void_v<R>) { | 746 | 34 | obj(static_cast<decltype(args)>(args)...); | 747 | 34 | } | 748 | 34 | else { | 749 | 34 | return obj(static_cast<decltype(args)>(args)...); | 750 | 34 | } | 751 | 34 | }), | 752 | 34 | m_storage(std::addressof(f)) | 753 | 34 | { | 754 | 34 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 462 | : m_fptr([](storage fn, | 743 | 462 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 462 | cvref<T> obj = *get<T>(fn); | 745 | 462 | if constexpr (std::is_void_v<R>) { | 746 | 462 | obj(static_cast<decltype(args)>(args)...); | 747 | 462 | } | 748 | 462 | else { | 749 | 462 | return obj(static_cast<decltype(args)>(args)...); | 750 | 462 | } | 751 | 462 | }), | 752 | 462 | m_storage(std::addressof(f)) | 753 | 462 | { | 754 | 462 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 312 | : m_fptr([](storage fn, | 743 | 312 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 312 | cvref<T> obj = *get<T>(fn); | 745 | 312 | if constexpr (std::is_void_v<R>) { | 746 | 312 | obj(static_cast<decltype(args)>(args)...); | 747 | 312 | } | 748 | 312 | else { | 749 | 312 | return obj(static_cast<decltype(args)>(args)...); | 750 | 312 | } | 751 | 312 | }), | 752 | 312 | m_storage(std::addressof(f)) | 753 | 312 | { | 754 | 312 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 4.07k | : m_fptr([](storage fn, | 743 | 4.07k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.07k | cvref<T> obj = *get<T>(fn); | 745 | 4.07k | if constexpr (std::is_void_v<R>) { | 746 | 4.07k | obj(static_cast<decltype(args)>(args)...); | 747 | 4.07k | } | 748 | 4.07k | else { | 749 | 4.07k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.07k | } | 751 | 4.07k | }), | 752 | 4.07k | m_storage(std::addressof(f)) | 753 | 4.07k | { | 754 | 4.07k | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 276 | : m_fptr([](storage fn, | 743 | 276 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 276 | cvref<T> obj = *get<T>(fn); | 745 | 276 | if constexpr (std::is_void_v<R>) { | 746 | 276 | obj(static_cast<decltype(args)>(args)...); | 747 | 276 | } | 748 | 276 | else { | 749 | 276 | return obj(static_cast<decltype(args)>(args)...); | 750 | 276 | } | 751 | 276 | }), | 752 | 276 | m_storage(std::addressof(f)) | 753 | 276 | { | 754 | 276 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 34 | : m_fptr([](storage fn, | 743 | 34 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 34 | cvref<T> obj = *get<T>(fn); | 745 | 34 | if constexpr (std::is_void_v<R>) { | 746 | 34 | obj(static_cast<decltype(args)>(args)...); | 747 | 34 | } | 748 | 34 | else { | 749 | 34 | return obj(static_cast<decltype(args)>(args)...); | 750 | 34 | } | 751 | 34 | }), | 752 | 34 | m_storage(std::addressof(f)) | 753 | 34 | { | 754 | 34 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 34 | : m_fptr([](storage fn, | 743 | 34 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 34 | cvref<T> obj = *get<T>(fn); | 745 | 34 | if constexpr (std::is_void_v<R>) { | 746 | 34 | obj(static_cast<decltype(args)>(args)...); | 747 | 34 | } | 748 | 34 | else { | 749 | 34 | return obj(static_cast<decltype(args)>(args)...); | 750 | 34 | } | 751 | 34 | }), | 752 | 34 | m_storage(std::addressof(f)) | 753 | 34 | { | 754 | 34 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbwES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 1.59k | : m_fptr([](storage fn, | 743 | 1.59k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.59k | cvref<T> obj = *get<T>(fn); | 745 | 1.59k | if constexpr (std::is_void_v<R>) { | 746 | 1.59k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.59k | } | 748 | 1.59k | else { | 749 | 1.59k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.59k | } | 751 | 1.59k | }), | 752 | 1.59k | m_storage(std::addressof(f)) | 753 | 1.59k | { | 754 | 1.59k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v34impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 5.65k | : m_fptr([](storage fn, | 743 | 5.65k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.65k | cvref<T> obj = *get<T>(fn); | 745 | 5.65k | if constexpr (std::is_void_v<R>) { | 746 | 5.65k | obj(static_cast<decltype(args)>(args)...); | 747 | 5.65k | } | 748 | 5.65k | else { | 749 | 5.65k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.65k | } | 751 | 5.65k | }), | 752 | 5.65k | m_storage(std::addressof(f)) | 753 | 5.65k | { | 754 | 5.65k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 4.35k | : m_fptr([](storage fn, | 743 | 4.35k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.35k | cvref<T> obj = *get<T>(fn); | 745 | 4.35k | if constexpr (std::is_void_v<R>) { | 746 | 4.35k | obj(static_cast<decltype(args)>(args)...); | 747 | 4.35k | } | 748 | 4.35k | else { | 749 | 4.35k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.35k | } | 751 | 4.35k | }), | 752 | 4.35k | m_storage(std::addressof(f)) | 753 | 4.35k | { | 754 | 4.35k | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 536 | : m_fptr([](storage fn, | 743 | 536 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 536 | cvref<T> obj = *get<T>(fn); | 745 | 536 | if constexpr (std::is_void_v<R>) { | 746 | 536 | obj(static_cast<decltype(args)>(args)...); | 747 | 536 | } | 748 | 536 | else { | 749 | 536 | return obj(static_cast<decltype(args)>(args)...); | 750 | 536 | } | 751 | 536 | }), | 752 | 536 | m_storage(std::addressof(f)) | 753 | 536 | { | 754 | 536 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 540 | : m_fptr([](storage fn, | 743 | 540 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 540 | cvref<T> obj = *get<T>(fn); | 745 | 540 | if constexpr (std::is_void_v<R>) { | 746 | 540 | obj(static_cast<decltype(args)>(args)...); | 747 | 540 | } | 748 | 540 | else { | 749 | 540 | return obj(static_cast<decltype(args)>(args)...); | 750 | 540 | } | 751 | 540 | }), | 752 | 540 | m_storage(std::addressof(f)) | 753 | 540 | { | 754 | 540 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 304 | : m_fptr([](storage fn, | 743 | 304 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 304 | cvref<T> obj = *get<T>(fn); | 745 | 304 | if constexpr (std::is_void_v<R>) { | 746 | 304 | obj(static_cast<decltype(args)>(args)...); | 747 | 304 | } | 748 | 304 | else { | 749 | 304 | return obj(static_cast<decltype(args)>(args)...); | 750 | 304 | } | 751 | 304 | }), | 752 | 304 | m_storage(std::addressof(f)) | 753 | 304 | { | 754 | 304 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 13.3k | : m_fptr([](storage fn, | 743 | 13.3k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 13.3k | cvref<T> obj = *get<T>(fn); | 745 | 13.3k | if constexpr (std::is_void_v<R>) { | 746 | 13.3k | obj(static_cast<decltype(args)>(args)...); | 747 | 13.3k | } | 748 | 13.3k | else { | 749 | 13.3k | return obj(static_cast<decltype(args)>(args)...); | 750 | 13.3k | } | 751 | 13.3k | }), | 752 | 13.3k | m_storage(std::addressof(f)) | 753 | 13.3k | { | 754 | 13.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 176 | : m_fptr([](storage fn, | 743 | 176 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 176 | cvref<T> obj = *get<T>(fn); | 745 | 176 | if constexpr (std::is_void_v<R>) { | 746 | 176 | obj(static_cast<decltype(args)>(args)...); | 747 | 176 | } | 748 | 176 | else { | 749 | 176 | return obj(static_cast<decltype(args)>(args)...); | 750 | 176 | } | 751 | 176 | }), | 752 | 176 | m_storage(std::addressof(f)) | 753 | 176 | { | 754 | 176 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 10 | : m_fptr([](storage fn, | 743 | 10 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10 | cvref<T> obj = *get<T>(fn); | 745 | 10 | if constexpr (std::is_void_v<R>) { | 746 | 10 | obj(static_cast<decltype(args)>(args)...); | 747 | 10 | } | 748 | 10 | else { | 749 | 10 | return obj(static_cast<decltype(args)>(args)...); | 750 | 10 | } | 751 | 10 | }), | 752 | 10 | m_storage(std::addressof(f)) | 753 | 10 | { | 754 | 10 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 172 | : m_fptr([](storage fn, | 743 | 172 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 172 | cvref<T> obj = *get<T>(fn); | 745 | 172 | if constexpr (std::is_void_v<R>) { | 746 | 172 | obj(static_cast<decltype(args)>(args)...); | 747 | 172 | } | 748 | 172 | else { | 749 | 172 | return obj(static_cast<decltype(args)>(args)...); | 750 | 172 | } | 751 | 172 | }), | 752 | 172 | m_storage(std::addressof(f)) | 753 | 172 | { | 754 | 172 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 18 | : m_fptr([](storage fn, | 743 | 18 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18 | cvref<T> obj = *get<T>(fn); | 745 | 18 | if constexpr (std::is_void_v<R>) { | 746 | 18 | obj(static_cast<decltype(args)>(args)...); | 747 | 18 | } | 748 | 18 | else { | 749 | 18 | return obj(static_cast<decltype(args)>(args)...); | 750 | 18 | } | 751 | 18 | }), | 752 | 18 | m_storage(std::addressof(f)) | 753 | 18 | { | 754 | 18 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 356 | : m_fptr([](storage fn, | 743 | 356 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 356 | cvref<T> obj = *get<T>(fn); | 745 | 356 | if constexpr (std::is_void_v<R>) { | 746 | 356 | obj(static_cast<decltype(args)>(args)...); | 747 | 356 | } | 748 | 356 | else { | 749 | 356 | return obj(static_cast<decltype(args)>(args)...); | 750 | 356 | } | 751 | 356 | }), | 752 | 356 | m_storage(std::addressof(f)) | 753 | 356 | { | 754 | 356 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 486 | : m_fptr([](storage fn, | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | 486 | if constexpr (std::is_void_v<R>) { | 746 | 486 | obj(static_cast<decltype(args)>(args)...); | 747 | 486 | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), | 752 | 486 | m_storage(std::addressof(f)) | 753 | 486 | { | 754 | 486 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 20 | : m_fptr([](storage fn, | 743 | 20 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 20 | cvref<T> obj = *get<T>(fn); | 745 | 20 | if constexpr (std::is_void_v<R>) { | 746 | 20 | obj(static_cast<decltype(args)>(args)...); | 747 | 20 | } | 748 | 20 | else { | 749 | 20 | return obj(static_cast<decltype(args)>(args)...); | 750 | 20 | } | 751 | 20 | }), | 752 | 20 | m_storage(std::addressof(f)) | 753 | 20 | { | 754 | 20 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 186 | : m_fptr([](storage fn, | 743 | 186 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 186 | cvref<T> obj = *get<T>(fn); | 745 | 186 | if constexpr (std::is_void_v<R>) { | 746 | 186 | obj(static_cast<decltype(args)>(args)...); | 747 | 186 | } | 748 | 186 | else { | 749 | 186 | return obj(static_cast<decltype(args)>(args)...); | 750 | 186 | } | 751 | 186 | }), | 752 | 186 | m_storage(std::addressof(f)) | 753 | 186 | { | 754 | 186 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 102 | : m_fptr([](storage fn, | 743 | 102 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 102 | cvref<T> obj = *get<T>(fn); | 745 | 102 | if constexpr (std::is_void_v<R>) { | 746 | 102 | obj(static_cast<decltype(args)>(args)...); | 747 | 102 | } | 748 | 102 | else { | 749 | 102 | return obj(static_cast<decltype(args)>(args)...); | 750 | 102 | } | 751 | 102 | }), | 752 | 102 | m_storage(std::addressof(f)) | 753 | 102 | { | 754 | 102 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 2.89k | : m_fptr([](storage fn, | 743 | 2.89k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.89k | cvref<T> obj = *get<T>(fn); | 745 | 2.89k | if constexpr (std::is_void_v<R>) { | 746 | 2.89k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.89k | } | 748 | 2.89k | else { | 749 | 2.89k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.89k | } | 751 | 2.89k | }), | 752 | 2.89k | m_storage(std::addressof(f)) | 753 | 2.89k | { | 754 | 2.89k | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 348 | : m_fptr([](storage fn, | 743 | 348 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 348 | cvref<T> obj = *get<T>(fn); | 745 | 348 | if constexpr (std::is_void_v<R>) { | 746 | 348 | obj(static_cast<decltype(args)>(args)...); | 747 | 348 | } | 748 | 348 | else { | 749 | 348 | return obj(static_cast<decltype(args)>(args)...); | 750 | 348 | } | 751 | 348 | }), | 752 | 348 | m_storage(std::addressof(f)) | 753 | 348 | { | 754 | 348 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 96 | : m_fptr([](storage fn, | 743 | 96 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 96 | cvref<T> obj = *get<T>(fn); | 745 | 96 | if constexpr (std::is_void_v<R>) { | 746 | 96 | obj(static_cast<decltype(args)>(args)...); | 747 | 96 | } | 748 | 96 | else { | 749 | 96 | return obj(static_cast<decltype(args)>(args)...); | 750 | 96 | } | 751 | 96 | }), | 752 | 96 | m_storage(std::addressof(f)) | 753 | 96 | { | 754 | 96 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 20 | : m_fptr([](storage fn, | 743 | 20 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 20 | cvref<T> obj = *get<T>(fn); | 745 | 20 | if constexpr (std::is_void_v<R>) { | 746 | 20 | obj(static_cast<decltype(args)>(args)...); | 747 | 20 | } | 748 | 20 | else { | 749 | 20 | return obj(static_cast<decltype(args)>(args)...); | 750 | 20 | } | 751 | 20 | }), | 752 | 20 | m_storage(std::addressof(f)) | 753 | 20 | { | 754 | 20 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 20 | : m_fptr([](storage fn, | 743 | 20 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 20 | cvref<T> obj = *get<T>(fn); | 745 | 20 | if constexpr (std::is_void_v<R>) { | 746 | 20 | obj(static_cast<decltype(args)>(args)...); | 747 | 20 | } | 748 | 20 | else { | 749 | 20 | return obj(static_cast<decltype(args)>(args)...); | 750 | 20 | } | 751 | 20 | }), | 752 | 20 | m_storage(std::addressof(f)) | 753 | 20 | { | 754 | 20 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 656 | : m_fptr([](storage fn, | 743 | 656 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 656 | cvref<T> obj = *get<T>(fn); | 745 | 656 | if constexpr (std::is_void_v<R>) { | 746 | 656 | obj(static_cast<decltype(args)>(args)...); | 747 | 656 | } | 748 | 656 | else { | 749 | 656 | return obj(static_cast<decltype(args)>(args)...); | 750 | 656 | } | 751 | 656 | }), | 752 | 656 | m_storage(std::addressof(f)) | 753 | 656 | { | 754 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 542 | : m_fptr([](storage fn, | 743 | 542 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 542 | cvref<T> obj = *get<T>(fn); | 745 | 542 | if constexpr (std::is_void_v<R>) { | 746 | 542 | obj(static_cast<decltype(args)>(args)...); | 747 | 542 | } | 748 | 542 | else { | 749 | 542 | return obj(static_cast<decltype(args)>(args)...); | 750 | 542 | } | 751 | 542 | }), | 752 | 542 | m_storage(std::addressof(f)) | 753 | 542 | { | 754 | 542 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.13k | : m_fptr([](storage fn, | 743 | 2.13k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.13k | cvref<T> obj = *get<T>(fn); | 745 | 2.13k | if constexpr (std::is_void_v<R>) { | 746 | 2.13k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.13k | } | 748 | 2.13k | else { | 749 | 2.13k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.13k | } | 751 | 2.13k | }), | 752 | 2.13k | m_storage(std::addressof(f)) | 753 | 2.13k | { | 754 | 2.13k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 612 | : m_fptr([](storage fn, | 743 | 612 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 612 | cvref<T> obj = *get<T>(fn); | 745 | 612 | if constexpr (std::is_void_v<R>) { | 746 | 612 | obj(static_cast<decltype(args)>(args)...); | 747 | 612 | } | 748 | 612 | else { | 749 | 612 | return obj(static_cast<decltype(args)>(args)...); | 750 | 612 | } | 751 | 612 | }), | 752 | 612 | m_storage(std::addressof(f)) | 753 | 612 | { | 754 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 234 | : m_fptr([](storage fn, | 743 | 234 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 234 | cvref<T> obj = *get<T>(fn); | 745 | 234 | if constexpr (std::is_void_v<R>) { | 746 | 234 | obj(static_cast<decltype(args)>(args)...); | 747 | 234 | } | 748 | 234 | else { | 749 | 234 | return obj(static_cast<decltype(args)>(args)...); | 750 | 234 | } | 751 | 234 | }), | 752 | 234 | m_storage(std::addressof(f)) | 753 | 234 | { | 754 | 234 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 1.28k | : m_fptr([](storage fn, | 743 | 1.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.28k | cvref<T> obj = *get<T>(fn); | 745 | 1.28k | if constexpr (std::is_void_v<R>) { | 746 | 1.28k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.28k | } | 748 | 1.28k | else { | 749 | 1.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.28k | } | 751 | 1.28k | }), | 752 | 1.28k | m_storage(std::addressof(f)) | 753 | 1.28k | { | 754 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ |
755 | | |
756 | | template <typename T, |
757 | | std::enable_if_t<detail::is_not_self<T, function_ref> && |
758 | | !std::is_pointer_v<T>>* = nullptr> |
759 | | function_ref& operator=(T) = delete; |
760 | | |
761 | | constexpr R operator()(Args... args) const noexcept(noex) |
762 | 1.73M | { |
763 | 1.73M | return m_fptr(m_storage, SCN_FWD(args)...); |
764 | 1.73M | } scn::v3::impl::function_ref<bool (char), bool (char)>::operator()(char) const Line | Count | Source | 762 | 31.5k | { | 763 | 31.5k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 31.5k | } |
scn::v3::impl::function_ref<bool (char32_t), bool (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 1.61M | { | 763 | 1.61M | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 1.61M | } |
scn::v3::impl::function_ref<void (char32_t), void (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 78.3k | { | 763 | 78.3k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 78.3k | } |
Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref) const Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref) const scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 292 | { | 763 | 292 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 292 | } |
scn::v3::impl::function_ref<scn::v3::scan_expected<char const*> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref), scn::v3::scan_expected<char const*> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 946 | { | 763 | 946 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 946 | } |
scn::v3::impl::function_ref<bool (wchar_t), bool (wchar_t)>::operator()(wchar_t) const Line | Count | Source | 762 | 9.26k | { | 763 | 9.26k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 9.26k | } |
Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref) const Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref) const scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 182 | { | 763 | 182 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 182 | } |
scn::v3::impl::function_ref<scn::v3::scan_expected<wchar_t const*> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref), scn::v3::scan_expected<wchar_t const*> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 986 | { | 763 | 986 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 986 | } |
|
765 | | |
766 | | private: |
767 | | fwd_t* m_fptr{nullptr}; |
768 | | storage m_storage; |
769 | | }; |
770 | | |
771 | | template <typename F, std::enable_if_t<std::is_function_v<F>>* = nullptr> |
772 | | function_ref(F*) -> function_ref<F>; |
773 | | } // namespace impl |
774 | | |
775 | | ///////////////////////////////////////////////////////////////// |
776 | | // Internal error types |
777 | | ///////////////////////////////////////////////////////////////// |
778 | | |
779 | | namespace impl { |
780 | | enum class eof_error { good, eof }; |
781 | | |
782 | | inline constexpr bool operator!(eof_error e) |
783 | 52.2k | { |
784 | 52.2k | return e != eof_error::good; |
785 | 52.2k | } |
786 | | |
787 | | template <typename T> |
788 | | struct eof_expected : public expected<T, eof_error> { |
789 | | using base = expected<T, eof_error>; |
790 | | using base::base; |
791 | | |
792 | | constexpr eof_expected(const base& other) : base(other) {} |
793 | | constexpr eof_expected(base&& other) : base(SCN_MOVE(other)) {} |
794 | | }; |
795 | | |
796 | | inline constexpr auto make_eof_scan_error(eof_error err) |
797 | 174 | { |
798 | 174 | SCN_EXPECT(err == eof_error::eof); |
799 | 174 | return scan_error{scan_error::end_of_range, "EOF"}; |
800 | 174 | } |
801 | | |
802 | | struct SCN_TRIVIAL_ABI parse_error { |
803 | | enum code { good, eof, error }; |
804 | | using code_t = code; |
805 | | |
806 | | constexpr parse_error() = default; |
807 | 50.4k | constexpr parse_error(code c) : m_code(c) |
808 | 50.4k | { |
809 | 50.4k | SCN_UNLIKELY_ATTR SCN_UNUSED(m_code); |
810 | 50.4k | } |
811 | | |
812 | | constexpr explicit operator bool() const |
813 | 0 | { |
814 | 0 | return m_code == good; |
815 | 0 | } |
816 | | constexpr explicit operator code_t() const |
817 | 0 | { |
818 | 0 | return m_code; |
819 | 0 | } |
820 | | |
821 | | friend constexpr bool operator==(parse_error a, parse_error b) |
822 | 18.3k | { |
823 | 18.3k | return a.m_code == b.m_code; |
824 | 18.3k | } |
825 | | friend constexpr bool operator!=(parse_error a, parse_error b) |
826 | 0 | { |
827 | 0 | return !(a == b); |
828 | 0 | } |
829 | | |
830 | | private: |
831 | | code m_code{good}; |
832 | | }; |
833 | | |
834 | | template <typename T> |
835 | | struct parse_expected : public expected<T, parse_error> { |
836 | | using base = expected<T, parse_error>; |
837 | | using base::base; |
838 | | |
839 | | constexpr parse_expected(const base& other) : base(other) {} |
840 | | constexpr parse_expected(base&& other) : base(SCN_MOVE(other)) {} |
841 | | }; |
842 | | |
843 | | inline constexpr parse_error make_eof_parse_error(eof_error err) |
844 | 726 | { |
845 | 726 | SCN_EXPECT(err == eof_error::eof); |
846 | 726 | return parse_error::eof; |
847 | 726 | } |
848 | | |
849 | | inline constexpr scan_error make_scan_error_from_parse_error( |
850 | | parse_error err, |
851 | | enum scan_error::code code, |
852 | | const char* msg) |
853 | 4.31k | { |
854 | 4.31k | if (err == parse_error::good) { |
855 | 0 | return {}; |
856 | 0 | } |
857 | | |
858 | 4.31k | if (err == parse_error::eof) { |
859 | 76 | return scan_error{scan_error::end_of_range, "EOF"}; |
860 | 76 | } |
861 | | |
862 | 4.24k | return scan_error{code, msg}; |
863 | 4.31k | } |
864 | | |
865 | | inline constexpr auto map_parse_error_to_scan_error(enum scan_error::code code, |
866 | | const char* msg) |
867 | 4.31k | { |
868 | 4.31k | return [code, msg](parse_error err) { |
869 | 4.31k | return make_scan_error_from_parse_error(err, code, msg); |
870 | 4.31k | }; |
871 | 4.31k | } |
872 | | } // namespace impl |
873 | | |
874 | | namespace detail { |
875 | | template <typename T> |
876 | | struct is_expected_impl<scn::impl::parse_expected<T>> : std::true_type {}; |
877 | | } // namespace detail |
878 | | |
879 | | ///////////////////////////////////////////////////////////////// |
880 | | // Range reading support |
881 | | ///////////////////////////////////////////////////////////////// |
882 | | |
883 | | namespace impl { |
884 | | #if SCN_MSVC_DEBUG_ITERATORS |
885 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 1 |
886 | | #else |
887 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 0 |
888 | | #endif |
889 | | |
890 | | template <typename T> |
891 | | constexpr bool range_supports_nocopy() noexcept |
892 | | { |
893 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
894 | | return ranges::contiguous_range<T> || |
895 | | (ranges::random_access_range<T> && |
896 | | detail::can_make_address_from_iterator<ranges::iterator_t<T>>); |
897 | | #else |
898 | | return ranges::contiguous_range<T>; |
899 | | #endif |
900 | | } |
901 | | |
902 | | template <typename R> |
903 | | constexpr auto range_nocopy_data(const R& r) noexcept |
904 | | { |
905 | | static_assert(range_supports_nocopy<R>()); |
906 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
907 | | return detail::to_address(ranges::begin(r)); |
908 | | #else |
909 | | return ranges::data(r); |
910 | | #endif |
911 | | } |
912 | | |
913 | | template <typename R> |
914 | | constexpr auto range_nocopy_size(const R& r) noexcept |
915 | | { |
916 | | static_assert(range_supports_nocopy<R>()); |
917 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
918 | | return static_cast<size_t>(ranges::distance(detail::to_address(r.begin()), |
919 | | detail::to_address(r.end()))); |
920 | | #else |
921 | | return r.size(); |
922 | | #endif |
923 | | } |
924 | | |
925 | | template <typename I, typename S> |
926 | | SCN_NODISCARD constexpr bool is_range_eof(I begin, S end) |
927 | 1.62M | { |
928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
929 | | if constexpr (ranges::contiguous_iterator<I> || |
930 | | (ranges::random_access_iterator<I> && |
931 | | detail::can_make_address_from_iterator<I>)) { |
932 | | return detail::to_address(begin) == detail::to_address(end); |
933 | | } |
934 | | else |
935 | | #endif |
936 | 1.62M | { |
937 | 1.62M | return begin == end; |
938 | 1.62M | } |
939 | 1.62M | } Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 927 | 51.1k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 51.1k | { | 937 | 51.1k | return begin == end; | 938 | 51.1k | } | 939 | 51.1k | } |
bool scn::v3::impl::is_range_eof<char const*, char const*>(char const*, char const*) Line | Count | Source | 927 | 805k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 805k | { | 937 | 805k | return begin == end; | 938 | 805k | } | 939 | 805k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) bool scn::v3::impl::is_range_eof<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) Line | Count | Source | 927 | 745k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 745k | { | 937 | 745k | return begin == end; | 938 | 745k | } | 939 | 745k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 927 | 17.8k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 17.8k | { | 937 | 17.8k | return begin == end; | 938 | 17.8k | } | 939 | 17.8k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 927 | 5.34k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 5.34k | { | 937 | 5.34k | return begin == end; | 938 | 5.34k | } | 939 | 5.34k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) Line | Count | Source | 927 | 2.57k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 2.57k | { | 937 | 2.57k | return begin == end; | 938 | 2.57k | } | 939 | 2.57k | } |
|
940 | | |
941 | | template <typename Range> |
942 | | SCN_NODISCARD constexpr bool is_range_eof(Range r) |
943 | 917k | { |
944 | 917k | return is_range_eof(r.begin(), r.end()); |
945 | 917k | } Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 943 | 2.05k | { | 944 | 2.05k | return is_range_eof(r.begin(), r.end()); | 945 | 2.05k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 943 | 49.1k | { | 944 | 49.1k | return is_range_eof(r.begin(), r.end()); | 945 | 49.1k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 943 | 724k | { | 944 | 724k | return is_range_eof(r.begin(), r.end()); | 945 | 724k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 943 | 115k | { | 944 | 115k | return is_range_eof(r.begin(), r.end()); | 945 | 115k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 943 | 1.31k | { | 944 | 1.31k | return is_range_eof(r.begin(), r.end()); | 945 | 1.31k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 943 | 16.5k | { | 944 | 16.5k | return is_range_eof(r.begin(), r.end()); | 945 | 16.5k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 943 | 5.34k | { | 944 | 5.34k | return is_range_eof(r.begin(), r.end()); | 945 | 5.34k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 943 | 2.57k | { | 944 | 2.57k | return is_range_eof(r.begin(), r.end()); | 945 | 2.57k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
946 | | |
947 | | template <typename Range> |
948 | | SCN_NODISCARD constexpr eof_error eof_check(Range range) |
949 | 52.2k | { |
950 | 52.2k | if (SCN_UNLIKELY(is_range_eof(range))) { |
951 | 174 | return eof_error::eof; |
952 | 174 | } |
953 | 52.0k | return eof_error::good; |
954 | 52.2k | } Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 949 | 2.05k | { | 950 | 2.05k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 2.05k | return eof_error::good; | 954 | 2.05k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 949 | 34 | { | 950 | 34 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 34 | return eof_error::good; | 954 | 34 | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 949 | 22.4k | { | 950 | 22.4k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 22.4k | return eof_error::good; | 954 | 22.4k | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 949 | 22.9k | { | 950 | 22.9k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 22.9k | return eof_error::good; | 954 | 22.9k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 949 | 1.31k | { | 950 | 1.31k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 1.31k | return eof_error::good; | 954 | 1.31k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 949 | 38 | { | 950 | 38 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 38 | return eof_error::good; | 954 | 38 | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 949 | 2.13k | { | 950 | 2.13k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 174 | return eof_error::eof; | 952 | 174 | } | 953 | 1.96k | return eof_error::good; | 954 | 2.13k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 949 | 1.28k | { | 950 | 1.28k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 1.28k | return eof_error::good; | 954 | 1.28k | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
955 | | |
956 | | template <typename Range> |
957 | | bool is_entire_source_contiguous(Range r) |
958 | 47.7k | { |
959 | | if constexpr (ranges::contiguous_range<Range> && |
960 | 46.0k | ranges::sized_range<Range>) { |
961 | 46.0k | return true; |
962 | | } |
963 | | else if constexpr (std::is_same_v< |
964 | | ranges::const_iterator_t<Range>, |
965 | | typename detail::basic_scan_buffer< |
966 | 0 | detail::char_t<Range>>::forward_iterator>) { |
967 | 0 | auto beg = r.begin(); |
968 | 0 | if (!beg.stores_parent()) { |
969 | 0 | return true; |
970 | 0 | } |
971 | 0 | return beg.parent()->is_contiguous(); |
972 | | } |
973 | 1.65k | else { |
974 | 1.65k | return false; |
975 | 1.65k | } |
976 | 47.7k | } Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 958 | 1.63k | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | | ranges::sized_range<Range>) { | 961 | | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | 1.63k | else { | 974 | 1.63k | return false; | 975 | 1.63k | } | 976 | 1.63k | } |
bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 958 | 32.6k | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | 32.6k | ranges::sized_range<Range>) { | 961 | 32.6k | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | | else { | 974 | | return false; | 975 | | } | 976 | 32.6k | } |
Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 958 | 18 | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | | ranges::sized_range<Range>) { | 961 | | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | 18 | else { | 974 | 18 | return false; | 975 | 18 | } | 976 | 18 | } |
bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 958 | 13.3k | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | 13.3k | ranges::sized_range<Range>) { | 961 | 13.3k | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | | else { | 974 | | return false; | 975 | | } | 976 | 13.3k | } |
|
977 | | |
978 | | template <typename Range> |
979 | | bool is_segment_contiguous(Range r) |
980 | 46.0k | { |
981 | | if constexpr (ranges::contiguous_range<Range> && |
982 | 46.0k | ranges::sized_range<Range>) { |
983 | 46.0k | return true; |
984 | | } |
985 | | else if constexpr (std::is_same_v< |
986 | | ranges::const_iterator_t<Range>, |
987 | | typename detail::basic_scan_buffer< |
988 | 0 | detail::char_t<Range>>::forward_iterator>) { |
989 | 0 | auto beg = r.begin(); |
990 | 0 | if (beg.contiguous_segment().empty()) { |
991 | 0 | return false; |
992 | 0 | } |
993 | | if constexpr (ranges::common_range<Range>) { |
994 | | return beg.contiguous_segment().end() == |
995 | | ranges::end(r).contiguous_segment().end(); |
996 | | } |
997 | 0 | else { |
998 | 0 | if (beg.stores_parent()) { |
999 | 0 | return beg.contiguous_segment().end() == |
1000 | 0 | beg.parent()->current_view().end(); |
1001 | 0 | } |
1002 | 0 | return true; |
1003 | 0 | } |
1004 | | } |
1005 | 0 | else { |
1006 | 0 | return false; |
1007 | 0 | } |
1008 | 46.0k | } Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 980 | 32.6k | { | 981 | | if constexpr (ranges::contiguous_range<Range> && | 982 | 32.6k | ranges::sized_range<Range>) { | 983 | 32.6k | return true; | 984 | | } | 985 | | else if constexpr (std::is_same_v< | 986 | | ranges::const_iterator_t<Range>, | 987 | | typename detail::basic_scan_buffer< | 988 | | detail::char_t<Range>>::forward_iterator>) { | 989 | | auto beg = r.begin(); | 990 | | if (beg.contiguous_segment().empty()) { | 991 | | return false; | 992 | | } | 993 | | if constexpr (ranges::common_range<Range>) { | 994 | | return beg.contiguous_segment().end() == | 995 | | ranges::end(r).contiguous_segment().end(); | 996 | | } | 997 | | else { | 998 | | if (beg.stores_parent()) { | 999 | | return beg.contiguous_segment().end() == | 1000 | | beg.parent()->current_view().end(); | 1001 | | } | 1002 | | return true; | 1003 | | } | 1004 | | } | 1005 | | else { | 1006 | | return false; | 1007 | | } | 1008 | 32.6k | } |
Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 980 | 13.3k | { | 981 | | if constexpr (ranges::contiguous_range<Range> && | 982 | 13.3k | ranges::sized_range<Range>) { | 983 | 13.3k | return true; | 984 | | } | 985 | | else if constexpr (std::is_same_v< | 986 | | ranges::const_iterator_t<Range>, | 987 | | typename detail::basic_scan_buffer< | 988 | | detail::char_t<Range>>::forward_iterator>) { | 989 | | auto beg = r.begin(); | 990 | | if (beg.contiguous_segment().empty()) { | 991 | | return false; | 992 | | } | 993 | | if constexpr (ranges::common_range<Range>) { | 994 | | return beg.contiguous_segment().end() == | 995 | | ranges::end(r).contiguous_segment().end(); | 996 | | } | 997 | | else { | 998 | | if (beg.stores_parent()) { | 999 | | return beg.contiguous_segment().end() == | 1000 | | beg.parent()->current_view().end(); | 1001 | | } | 1002 | | return true; | 1003 | | } | 1004 | | } | 1005 | | else { | 1006 | | return false; | 1007 | | } | 1008 | 13.3k | } |
|
1009 | | |
1010 | | template <typename Range> |
1011 | | std::size_t contiguous_beginning_size(Range r) |
1012 | | { |
1013 | | if constexpr (ranges::contiguous_range<Range> && |
1014 | | ranges::sized_range<Range>) { |
1015 | | return r.size(); |
1016 | | } |
1017 | | else if constexpr (std::is_same_v< |
1018 | | ranges::const_iterator_t<Range>, |
1019 | | typename detail::basic_scan_buffer< |
1020 | | detail::char_t<Range>>::forward_iterator>) { |
1021 | | if constexpr (ranges::common_range<Range>) { |
1022 | | auto seg = r.begin().contiguous_segment(); |
1023 | | auto dist = |
1024 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1025 | | return std::min(seg.size(), dist); |
1026 | | } |
1027 | | else { |
1028 | | return r.begin().contiguous_segment().size(); |
1029 | | } |
1030 | | } |
1031 | | else { |
1032 | | return false; |
1033 | | } |
1034 | | } |
1035 | | |
1036 | | template <typename Range> |
1037 | | auto get_contiguous_beginning(Range r) |
1038 | 3.47k | { |
1039 | | if constexpr (ranges::contiguous_range<Range> && |
1040 | | ranges::sized_range<Range>) { |
1041 | | return r; |
1042 | | } |
1043 | | else if constexpr (std::is_same_v< |
1044 | | ranges::const_iterator_t<Range>, |
1045 | | typename detail::basic_scan_buffer< |
1046 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1047 | | if constexpr (ranges::common_range<Range>) { |
1048 | | auto seg = r.begin().contiguous_segment(); |
1049 | | auto dist = |
1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1051 | | return seg.substr(0, std::min(seg.size(), dist)); |
1052 | | } |
1053 | 0 | else { |
1054 | 0 | return r.begin().contiguous_segment(); |
1055 | 0 | } |
1056 | | } |
1057 | 3.47k | else { |
1058 | 3.47k | return std::basic_string_view<detail::char_t<Range>>{}; |
1059 | 3.47k | } |
1060 | 3.47k | } Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >) auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1038 | 1.34k | { | 1039 | | if constexpr (ranges::contiguous_range<Range> && | 1040 | | ranges::sized_range<Range>) { | 1041 | | return r; | 1042 | | } | 1043 | | else if constexpr (std::is_same_v< | 1044 | | ranges::const_iterator_t<Range>, | 1045 | | typename detail::basic_scan_buffer< | 1046 | | detail::char_t<Range>>::forward_iterator>) { | 1047 | | if constexpr (ranges::common_range<Range>) { | 1048 | | auto seg = r.begin().contiguous_segment(); | 1049 | | auto dist = | 1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1051 | | return seg.substr(0, std::min(seg.size(), dist)); | 1052 | | } | 1053 | | else { | 1054 | | return r.begin().contiguous_segment(); | 1055 | | } | 1056 | | } | 1057 | 1.34k | else { | 1058 | 1.34k | return std::basic_string_view<detail::char_t<Range>>{}; | 1059 | 1.34k | } | 1060 | 1.34k | } |
Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >) Line | Count | Source | 1038 | 2.13k | { | 1039 | | if constexpr (ranges::contiguous_range<Range> && | 1040 | | ranges::sized_range<Range>) { | 1041 | | return r; | 1042 | | } | 1043 | | else if constexpr (std::is_same_v< | 1044 | | ranges::const_iterator_t<Range>, | 1045 | | typename detail::basic_scan_buffer< | 1046 | | detail::char_t<Range>>::forward_iterator>) { | 1047 | | if constexpr (ranges::common_range<Range>) { | 1048 | | auto seg = r.begin().contiguous_segment(); | 1049 | | auto dist = | 1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1051 | | return seg.substr(0, std::min(seg.size(), dist)); | 1052 | | } | 1053 | | else { | 1054 | | return r.begin().contiguous_segment(); | 1055 | | } | 1056 | | } | 1057 | 2.13k | else { | 1058 | 2.13k | return std::basic_string_view<detail::char_t<Range>>{}; | 1059 | 2.13k | } | 1060 | 2.13k | } |
|
1061 | | |
1062 | | template <typename Range> |
1063 | | auto get_as_contiguous(Range r) |
1064 | 46.0k | { |
1065 | 46.0k | SCN_EXPECT(is_segment_contiguous(r)); |
1066 | | |
1067 | | if constexpr (ranges::contiguous_range<Range> && |
1068 | 46.0k | ranges::sized_range<Range>) { |
1069 | 46.0k | return r; |
1070 | | } |
1071 | | else if constexpr (std::is_same_v< |
1072 | | ranges::const_iterator_t<Range>, |
1073 | | typename detail::basic_scan_buffer< |
1074 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1075 | | if constexpr (ranges::common_range<Range>) { |
1076 | | return detail::make_string_view_from_pointers( |
1077 | | r.begin().to_contiguous_segment_iterator(), |
1078 | | r.end().to_contiguous_segment_iterator()); |
1079 | | } |
1080 | 0 | else { |
1081 | 0 | return r.begin().contiguous_segment(); |
1082 | 0 | } |
1083 | | } |
1084 | 0 | else { |
1085 | 0 | SCN_EXPECT(false); |
1086 | 0 | SCN_UNREACHABLE; |
1087 | | // for return type deduction |
1088 | 0 | return std::basic_string_view<detail::char_t<Range>>{}; |
1089 | 0 | } |
1090 | 46.0k | } Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 1064 | 32.6k | { | 1065 | 32.6k | SCN_EXPECT(is_segment_contiguous(r)); | 1066 | | | 1067 | | if constexpr (ranges::contiguous_range<Range> && | 1068 | 32.6k | ranges::sized_range<Range>) { | 1069 | 32.6k | return r; | 1070 | | } | 1071 | | else if constexpr (std::is_same_v< | 1072 | | ranges::const_iterator_t<Range>, | 1073 | | typename detail::basic_scan_buffer< | 1074 | | detail::char_t<Range>>::forward_iterator>) { | 1075 | | if constexpr (ranges::common_range<Range>) { | 1076 | | return detail::make_string_view_from_pointers( | 1077 | | r.begin().to_contiguous_segment_iterator(), | 1078 | | r.end().to_contiguous_segment_iterator()); | 1079 | | } | 1080 | | else { | 1081 | | return r.begin().contiguous_segment(); | 1082 | | } | 1083 | | } | 1084 | | else { | 1085 | | SCN_EXPECT(false); | 1086 | | SCN_UNREACHABLE; | 1087 | | // for return type deduction | 1088 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1089 | | } | 1090 | 32.6k | } |
Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 1064 | 13.3k | { | 1065 | 13.3k | SCN_EXPECT(is_segment_contiguous(r)); | 1066 | | | 1067 | | if constexpr (ranges::contiguous_range<Range> && | 1068 | 13.3k | ranges::sized_range<Range>) { | 1069 | 13.3k | return r; | 1070 | | } | 1071 | | else if constexpr (std::is_same_v< | 1072 | | ranges::const_iterator_t<Range>, | 1073 | | typename detail::basic_scan_buffer< | 1074 | | detail::char_t<Range>>::forward_iterator>) { | 1075 | | if constexpr (ranges::common_range<Range>) { | 1076 | | return detail::make_string_view_from_pointers( | 1077 | | r.begin().to_contiguous_segment_iterator(), | 1078 | | r.end().to_contiguous_segment_iterator()); | 1079 | | } | 1080 | | else { | 1081 | | return r.begin().contiguous_segment(); | 1082 | | } | 1083 | | } | 1084 | | else { | 1085 | | SCN_EXPECT(false); | 1086 | | SCN_UNREACHABLE; | 1087 | | // for return type deduction | 1088 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1089 | | } | 1090 | 13.3k | } |
|
1091 | | |
1092 | | template <typename Range> |
1093 | | std::size_t guaranteed_minimum_size(Range r) |
1094 | 6.00k | { |
1095 | | if constexpr (ranges::sized_range<Range>) { |
1096 | | return r.size(); |
1097 | | } |
1098 | | else if constexpr (std::is_same_v< |
1099 | | ranges::const_iterator_t<Range>, |
1100 | | typename detail::basic_scan_buffer< |
1101 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1102 | | if constexpr (ranges::common_range<Range>) { |
1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1104 | | } |
1105 | 0 | else { |
1106 | 0 | if (r.begin().stores_parent()) { |
1107 | 0 | return static_cast<size_t>( |
1108 | 0 | r.begin().parent()->chars_available() - |
1109 | 0 | r.begin().position()); |
1110 | 0 | } |
1111 | 0 | return r.begin().contiguous_segment().size(); |
1112 | 0 | } |
1113 | | } |
1114 | 6.00k | else { |
1115 | 6.00k | return 0; |
1116 | 6.00k | } |
1117 | 6.00k | } Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 1094 | 3.85k | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 3.85k | else { | 1115 | 3.85k | return 0; | 1116 | 3.85k | } | 1117 | 3.85k | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 1094 | 796 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 796 | else { | 1115 | 796 | return 0; | 1116 | 796 | } | 1117 | 796 | } |
unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 1094 | 262 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 262 | else { | 1115 | 262 | return 0; | 1116 | 262 | } | 1117 | 262 | } |
unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1094 | 696 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 696 | else { | 1115 | 696 | return 0; | 1116 | 696 | } | 1117 | 696 | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 1094 | 396 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 396 | else { | 1115 | 396 | return 0; | 1116 | 396 | } | 1117 | 396 | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) |
1118 | | |
1119 | | template <typename I, typename T> |
1120 | | struct iterator_value_result { |
1121 | | SCN_NO_UNIQUE_ADDRESS I iterator; |
1122 | | SCN_NO_UNIQUE_ADDRESS T value; |
1123 | | }; |
1124 | | |
1125 | | ///////////////////////////////////////////////////////////////// |
1126 | | // Unicode |
1127 | | ///////////////////////////////////////////////////////////////// |
1128 | | |
1129 | | template <typename CharT> |
1130 | | constexpr bool validate_unicode(std::basic_string_view<CharT> src) |
1131 | 23.9k | { |
1132 | 23.9k | auto it = src.begin(); |
1133 | 1.21M | while (it != src.end()) { |
1134 | 1.19M | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1135 | 1.19M | if (len == 0) { |
1136 | 1.77k | return false; |
1137 | 1.77k | } |
1138 | 1.19M | if (src.end() - it < len) { |
1139 | 258 | return false; |
1140 | 258 | } |
1141 | 1.19M | const auto cp = detail::decode_code_point_exhaustive( |
1142 | 1.19M | detail::make_string_view_from_iterators<CharT>(it, it + len)); |
1143 | 1.19M | if (cp >= detail::invalid_code_point) { |
1144 | 2.82k | return false; |
1145 | 2.82k | } |
1146 | 1.19M | it += len; |
1147 | 1.19M | } |
1148 | 19.1k | return true; |
1149 | 23.9k | } bool scn::v3::impl::validate_unicode<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1131 | 15.2k | { | 1132 | 15.2k | auto it = src.begin(); | 1133 | 1.14M | while (it != src.end()) { | 1134 | 1.13M | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1135 | 1.13M | if (len == 0) { | 1136 | 1.77k | return false; | 1137 | 1.77k | } | 1138 | 1.13M | if (src.end() - it < len) { | 1139 | 258 | return false; | 1140 | 258 | } | 1141 | 1.13M | const auto cp = detail::decode_code_point_exhaustive( | 1142 | 1.13M | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1143 | 1.13M | if (cp >= detail::invalid_code_point) { | 1144 | 540 | return false; | 1145 | 540 | } | 1146 | 1.12M | it += len; | 1147 | 1.12M | } | 1148 | 12.6k | return true; | 1149 | 15.2k | } |
bool scn::v3::impl::validate_unicode<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1131 | 8.75k | { | 1132 | 8.75k | auto it = src.begin(); | 1133 | 73.8k | while (it != src.end()) { | 1134 | 67.3k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1135 | 67.3k | if (len == 0) { | 1136 | 0 | return false; | 1137 | 0 | } | 1138 | 67.3k | if (src.end() - it < len) { | 1139 | 0 | return false; | 1140 | 0 | } | 1141 | 67.3k | const auto cp = detail::decode_code_point_exhaustive( | 1142 | 67.3k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1143 | 67.3k | if (cp >= detail::invalid_code_point) { | 1144 | 2.28k | return false; | 1145 | 2.28k | } | 1146 | 65.1k | it += len; | 1147 | 65.1k | } | 1148 | 6.47k | return true; | 1149 | 8.75k | } |
|
1150 | | |
1151 | | template <typename Range> |
1152 | | constexpr auto get_start_for_next_code_point(Range input) |
1153 | | -> ranges::const_iterator_t<Range> |
1154 | 78.0k | { |
1155 | 78.0k | auto it = input.begin(); |
1156 | 304k | for (; it != input.end(); ++it) { |
1157 | 302k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { |
1158 | 76.1k | break; |
1159 | 76.1k | } |
1160 | 302k | } |
1161 | 78.0k | return it; |
1162 | 78.0k | } _ZN3scn2v34impl29get_start_for_next_code_pointINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 1154 | 68.4k | { | 1155 | 68.4k | auto it = input.begin(); | 1156 | 292k | for (; it != input.end(); ++it) { | 1157 | 291k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 66.7k | break; | 1159 | 66.7k | } | 1160 | 291k | } | 1161 | 68.4k | return it; | 1162 | 68.4k | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Line | Count | Source | 1154 | 7.47k | { | 1155 | 7.47k | auto it = input.begin(); | 1156 | 9.18k | for (; it != input.end(); ++it) { | 1157 | 9.01k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 7.30k | break; | 1159 | 7.30k | } | 1160 | 9.01k | } | 1161 | 7.47k | return it; | 1162 | 7.47k | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1154 | 2.11k | { | 1155 | 2.11k | auto it = input.begin(); | 1156 | 2.77k | for (; it != input.end(); ++it) { | 1157 | 2.70k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 2.04k | break; | 1159 | 2.04k | } | 1160 | 2.70k | } | 1161 | 2.11k | return it; | 1162 | 2.11k | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ |
1163 | | |
1164 | | template <typename CharT> |
1165 | | constexpr auto get_next_code_point(std::basic_string_view<CharT> input) |
1166 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1167 | | char32_t> |
1168 | 3.91M | { |
1169 | 3.91M | SCN_EXPECT(!input.empty()); |
1170 | | |
1171 | 3.91M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1172 | 3.91M | if (SCN_UNLIKELY(len == 0)) { |
1173 | 68.4k | return {get_start_for_next_code_point(input), |
1174 | 68.4k | detail::invalid_code_point}; |
1175 | 68.4k | } |
1176 | 3.84M | if (SCN_UNLIKELY(len > input.size())) { |
1177 | 1.01k | return {input.end(), detail::invalid_code_point}; |
1178 | 1.01k | } |
1179 | | |
1180 | 3.84M | return {input.begin() + len, |
1181 | 3.84M | detail::decode_code_point_exhaustive(input.substr(0, len))}; |
1182 | 3.84M | } scn::v3::impl::iterator_value_result<std::__1::basic_string_view<char, std::__1::char_traits<char> >::iterator, char32_t> scn::v3::impl::get_next_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1168 | 3.27M | { | 1169 | 3.27M | SCN_EXPECT(!input.empty()); | 1170 | | | 1171 | 3.27M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1172 | 3.27M | if (SCN_UNLIKELY(len == 0)) { | 1173 | 68.4k | return {get_start_for_next_code_point(input), | 1174 | 68.4k | detail::invalid_code_point}; | 1175 | 68.4k | } | 1176 | 3.20M | if (SCN_UNLIKELY(len > input.size())) { | 1177 | 1.01k | return {input.end(), detail::invalid_code_point}; | 1178 | 1.01k | } | 1179 | | | 1180 | 3.20M | return {input.begin() + len, | 1181 | 3.20M | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1182 | 3.20M | } |
scn::v3::impl::iterator_value_result<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >::iterator, char32_t> scn::v3::impl::get_next_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1168 | 637k | { | 1169 | 637k | SCN_EXPECT(!input.empty()); | 1170 | | | 1171 | 637k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1172 | 637k | if (SCN_UNLIKELY(len == 0)) { | 1173 | 0 | return {get_start_for_next_code_point(input), | 1174 | 0 | detail::invalid_code_point}; | 1175 | 0 | } | 1176 | 637k | if (SCN_UNLIKELY(len > input.size())) { | 1177 | 0 | return {input.end(), detail::invalid_code_point}; | 1178 | 0 | } | 1179 | | | 1180 | 637k | return {input.begin() + len, | 1181 | 637k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1182 | 637k | } |
|
1183 | | |
1184 | | template <typename CharT> |
1185 | | constexpr auto get_next_code_point_valid(std::basic_string_view<CharT> input) |
1186 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1187 | | char32_t> |
1188 | 275k | { |
1189 | 275k | SCN_EXPECT(!input.empty()); |
1190 | | |
1191 | 275k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1192 | 275k | SCN_EXPECT(len <= input.size()); |
1193 | | |
1194 | 275k | return {input.begin() + len, |
1195 | 275k | detail::decode_code_point_exhaustive_valid(input.substr(0, len))}; |
1196 | 275k | } |
1197 | | |
1198 | | template <typename CharT> |
1199 | | struct is_first_char_space_result { |
1200 | | ranges::iterator_t<std::basic_string_view<CharT>> iterator; |
1201 | | char32_t cp; |
1202 | | bool is_space; |
1203 | | }; |
1204 | | |
1205 | | template <typename CharT> |
1206 | | inline constexpr auto is_first_char_space(std::basic_string_view<CharT> str) |
1207 | | -> is_first_char_space_result<CharT> |
1208 | 708k | { |
1209 | | // TODO: optimize |
1210 | 708k | SCN_EXPECT(!str.empty()); |
1211 | 708k | auto res = get_next_code_point(str); |
1212 | 708k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; |
1213 | 708k | } scn::v3::impl::is_first_char_space_result<char> scn::v3::impl::is_first_char_space<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1208 | 79.3k | { | 1209 | | // TODO: optimize | 1210 | 79.3k | SCN_EXPECT(!str.empty()); | 1211 | 79.3k | auto res = get_next_code_point(str); | 1212 | 79.3k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1213 | 79.3k | } |
scn::v3::impl::is_first_char_space_result<wchar_t> scn::v3::impl::is_first_char_space<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1208 | 629k | { | 1209 | | // TODO: optimize | 1210 | 629k | SCN_EXPECT(!str.empty()); | 1211 | 629k | auto res = get_next_code_point(str); | 1212 | 629k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1213 | 629k | } |
|
1214 | | |
1215 | | inline constexpr scan_expected<wchar_t> encode_code_point_as_wide_character( |
1216 | | char32_t cp, |
1217 | | bool error_on_overflow) |
1218 | 0 | { |
1219 | 0 | SCN_EXPECT(cp < detail::invalid_code_point); |
1220 | 0 | if constexpr (sizeof(wchar_t) == sizeof(char32_t)) { |
1221 | 0 | SCN_UNUSED(error_on_overflow); |
1222 | 0 | return static_cast<wchar_t>(cp); |
1223 | | } |
1224 | | else { |
1225 | | if (cp < 0x10000) { |
1226 | | return static_cast<wchar_t>(cp); |
1227 | | } |
1228 | | if (error_on_overflow) { |
1229 | | return unexpected_scan_error(scan_error::value_out_of_range, |
1230 | | "Non-BOM code point can't be " |
1231 | | "narrowed to a single 2-byte " |
1232 | | "wchar_t code unit"); |
1233 | | } |
1234 | | // Return the lead surrogate |
1235 | | return static_cast<wchar_t>( |
1236 | | (static_cast<uint32_t>(cp) - 0x10000) / 0x400 + 0xd800); |
1237 | | } |
1238 | 0 | } |
1239 | | |
1240 | | template <typename SourceCharT, typename DestCharT> |
1241 | | void transcode_to_string_impl_to32(std::basic_string_view<SourceCharT> src, |
1242 | | std::basic_string<DestCharT>& dest) |
1243 | 10.9k | { |
1244 | 10.9k | static_assert(sizeof(DestCharT) == 4); |
1245 | | |
1246 | 10.9k | auto it = src.begin(); |
1247 | 3.05M | while (it != src.end()) { |
1248 | 3.04M | auto res = get_next_code_point( |
1249 | 3.04M | detail::make_string_view_from_iterators<SourceCharT>(it, |
1250 | 3.04M | src.end())); |
1251 | 3.04M | if (SCN_UNLIKELY(res.value == detail::invalid_code_point)) { |
1252 | 109k | dest.push_back(DestCharT{0xfffd}); |
1253 | 109k | } |
1254 | 2.93M | else { |
1255 | 2.93M | dest.push_back(res.value); |
1256 | 2.93M | } |
1257 | 3.04M | it = detail::make_string_view_iterator(src, res.iterator); |
1258 | 3.04M | } |
1259 | 10.9k | } |
1260 | | template <typename SourceCharT, typename DestCharT> |
1261 | | void transcode_valid_to_string_impl_to32( |
1262 | | std::basic_string_view<SourceCharT> src, |
1263 | | std::basic_string<DestCharT>& dest) |
1264 | 3.15k | { |
1265 | 3.15k | static_assert(sizeof(DestCharT) == 4); |
1266 | | |
1267 | 3.15k | auto it = src.begin(); |
1268 | 278k | while (it != src.end()) { |
1269 | 275k | auto res = get_next_code_point_valid( |
1270 | 275k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1271 | 275k | src.end())); |
1272 | 275k | SCN_EXPECT(res.value < detail::invalid_code_point); |
1273 | 275k | dest.push_back(res.value); |
1274 | 275k | it = detail::make_string_view_iterator(src, res.iterator); |
1275 | 275k | } |
1276 | 3.15k | } |
1277 | | |
1278 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1279 | | void transcode_to_string_impl_32to8(std::basic_string_view<SourceCharT> src, |
1280 | | std::basic_string<DestCharT>& dest) |
1281 | 1.61k | { |
1282 | 1.61k | static_assert(sizeof(SourceCharT) == 4); |
1283 | 1.61k | static_assert(sizeof(DestCharT) == 1); |
1284 | | |
1285 | 10.7k | for (auto cp : src) { |
1286 | 10.7k | const auto u32cp = static_cast<uint32_t>(cp); |
1287 | 10.7k | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1288 | | // Replacement character |
1289 | 0 | dest.push_back(static_cast<char>(0xef)); |
1290 | 0 | dest.push_back(static_cast<char>(0xbf)); |
1291 | 0 | dest.push_back(static_cast<char>(0xbd)); |
1292 | 0 | } |
1293 | 10.7k | else if (cp < 128) { |
1294 | 8.73k | dest.push_back(static_cast<char>(cp)); |
1295 | 8.73k | } |
1296 | 1.97k | else if (cp < 2048) { |
1297 | 214 | dest.push_back( |
1298 | 214 | static_cast<char>(0xc0 | (static_cast<char>(u32cp >> 6)))); |
1299 | 214 | dest.push_back( |
1300 | 214 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1301 | 214 | } |
1302 | 1.76k | else if (cp < 65536) { |
1303 | 1.28k | dest.push_back( |
1304 | 1.28k | static_cast<char>(0xe0 | (static_cast<char>(u32cp >> 12)))); |
1305 | 1.28k | dest.push_back(static_cast<char>( |
1306 | 1.28k | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1307 | 1.28k | dest.push_back( |
1308 | 1.28k | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1309 | 1.28k | } |
1310 | 484 | else { |
1311 | 484 | dest.push_back( |
1312 | 484 | static_cast<char>(0xf0 | (static_cast<char>(u32cp >> 18)))); |
1313 | 484 | dest.push_back(static_cast<char>( |
1314 | 484 | 0x80 | (static_cast<char>(u32cp >> 12) & 0x3f))); |
1315 | 484 | dest.push_back(static_cast<char>( |
1316 | 484 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1317 | 484 | dest.push_back( |
1318 | 484 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1319 | 484 | } |
1320 | 10.7k | } |
1321 | 1.61k | } |
1322 | | |
1323 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1324 | | void transcode_to_string_impl_32to16(std::basic_string_view<SourceCharT> src, |
1325 | | std::basic_string<DestCharT>& dest) |
1326 | | { |
1327 | | static_assert(sizeof(SourceCharT) == 4); |
1328 | | static_assert(sizeof(DestCharT) == 2); |
1329 | | |
1330 | | for (auto cp : src) { |
1331 | | const auto u32cp = static_cast<uint32_t>(cp); |
1332 | | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1333 | | dest.push_back(char16_t{0xfffd}); |
1334 | | } |
1335 | | else if (cp < 0x10000) { |
1336 | | dest.push_back(static_cast<char16_t>(cp)); |
1337 | | } |
1338 | | else { |
1339 | | dest.push_back( |
1340 | | static_cast<char16_t>((u32cp - 0x10000) / 0x400 + 0xd800)); |
1341 | | dest.push_back( |
1342 | | static_cast<char16_t>((u32cp - 0x10000) % 0x400 + 0xd800)); |
1343 | | } |
1344 | | } |
1345 | | } |
1346 | | |
1347 | | template <typename SourceCharT, typename DestCharT> |
1348 | | void transcode_to_string(std::basic_string_view<SourceCharT> src, |
1349 | | std::basic_string<DestCharT>& dest) |
1350 | 10.9k | { |
1351 | 10.9k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1352 | | |
1353 | 10.9k | if constexpr (sizeof(SourceCharT) == 1) { |
1354 | | if constexpr (sizeof(DestCharT) == 2) { |
1355 | | std::u32string tmp; |
1356 | | transcode_to_string_impl_to32(src, tmp); |
1357 | | return transcode_to_string_impl_32to16<false>( |
1358 | | std::u32string_view{tmp}, dest); |
1359 | | } |
1360 | 10.9k | else if constexpr (sizeof(DestCharT) == 4) { |
1361 | 10.9k | return transcode_to_string_impl_to32(src, dest); |
1362 | 10.9k | } |
1363 | | } |
1364 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1365 | | if constexpr (sizeof(DestCharT) == 1) { |
1366 | | std::u32string tmp; |
1367 | | transcode_to_string_impl_to32(src, tmp); |
1368 | | return transcode_to_string_impl_32to8<false>( |
1369 | | std::u32string_view{tmp}, dest); |
1370 | | } |
1371 | | else if constexpr (sizeof(DestCharT) == 4) { |
1372 | | return trasncode_to_string_impl_to32(src, dest); |
1373 | | } |
1374 | | } |
1375 | | else if constexpr (sizeof(SourceCharT) == 4) { |
1376 | | if constexpr (sizeof(DestCharT) == 1) { |
1377 | | return transcode_to_string_impl_32to8<false>(src, dest); |
1378 | | } |
1379 | | else if constexpr (sizeof(DestCharT) == 2) { |
1380 | | return transcode_to_string_impl_32to16<false>(src, dest); |
1381 | | } |
1382 | | } |
1383 | | |
1384 | 10.9k | SCN_EXPECT(false); |
1385 | 10.9k | SCN_UNREACHABLE; |
1386 | 10.9k | } |
1387 | | template <typename SourceCharT, typename DestCharT> |
1388 | | void transcode_valid_to_string(std::basic_string_view<SourceCharT> src, |
1389 | | std::basic_string<DestCharT>& dest) |
1390 | 4.77k | { |
1391 | 4.77k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1392 | | |
1393 | 4.77k | SCN_EXPECT(validate_unicode(src)); |
1394 | 4.77k | if constexpr (sizeof(SourceCharT) == 1) { |
1395 | | if constexpr (sizeof(DestCharT) == 2) { |
1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 |
1397 | | std::u32string tmp; |
1398 | | transcode_valid_to_string_impl_to32(src, tmp); |
1399 | | return transcode_to_string_impl_32to16<true>( |
1400 | | std::u32string_view{tmp}, dest); |
1401 | | } |
1402 | 3.15k | else if constexpr (sizeof(DestCharT) == 4) { |
1403 | 3.15k | return transcode_valid_to_string_impl_to32(src, dest); |
1404 | 3.15k | } |
1405 | | } |
1406 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1407 | | if constexpr (sizeof(DestCharT) == 1) { |
1408 | | std::u32string tmp; |
1409 | | transcode_valid_to_string_impl_to32(src, tmp); |
1410 | | return transcode_to_string_impl_32to8<true>( |
1411 | | std::u32string_view{tmp}, dest); |
1412 | | } |
1413 | | else if constexpr (sizeof(DestCharT) == 4) { |
1414 | | return trasncode_valid_to_string_impl_to32(src, dest); |
1415 | | } |
1416 | | } |
1417 | 1.61k | else if constexpr (sizeof(SourceCharT) == 4) { |
1418 | 1.61k | if constexpr (sizeof(DestCharT) == 1) { |
1419 | 1.61k | return transcode_to_string_impl_32to8<true>(src, dest); |
1420 | | } |
1421 | | else if constexpr (sizeof(DestCharT) == 2) { |
1422 | | return transcode_to_string_impl_32to16<true>(src, dest); |
1423 | | } |
1424 | 1.61k | } |
1425 | | |
1426 | 4.77k | SCN_EXPECT(false); |
1427 | 4.77k | SCN_UNREACHABLE; |
1428 | 4.77k | } void scn::v3::impl::transcode_valid_to_string<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 1390 | 3.15k | { | 1391 | 3.15k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1392 | | | 1393 | 3.15k | SCN_EXPECT(validate_unicode(src)); | 1394 | 3.15k | if constexpr (sizeof(SourceCharT) == 1) { | 1395 | | if constexpr (sizeof(DestCharT) == 2) { | 1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1397 | | std::u32string tmp; | 1398 | | transcode_valid_to_string_impl_to32(src, tmp); | 1399 | | return transcode_to_string_impl_32to16<true>( | 1400 | | std::u32string_view{tmp}, dest); | 1401 | | } | 1402 | 3.15k | else if constexpr (sizeof(DestCharT) == 4) { | 1403 | 3.15k | return transcode_valid_to_string_impl_to32(src, dest); | 1404 | 3.15k | } | 1405 | | } | 1406 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1407 | | if constexpr (sizeof(DestCharT) == 1) { | 1408 | | std::u32string tmp; | 1409 | | transcode_valid_to_string_impl_to32(src, tmp); | 1410 | | return transcode_to_string_impl_32to8<true>( | 1411 | | std::u32string_view{tmp}, dest); | 1412 | | } | 1413 | | else if constexpr (sizeof(DestCharT) == 4) { | 1414 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1415 | | } | 1416 | | } | 1417 | | else if constexpr (sizeof(SourceCharT) == 4) { | 1418 | | if constexpr (sizeof(DestCharT) == 1) { | 1419 | | return transcode_to_string_impl_32to8<true>(src, dest); | 1420 | | } | 1421 | | else if constexpr (sizeof(DestCharT) == 2) { | 1422 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1423 | | } | 1424 | | } | 1425 | | | 1426 | 3.15k | SCN_EXPECT(false); | 1427 | 0 | SCN_UNREACHABLE; | 1428 | 3.15k | } |
void scn::v3::impl::transcode_valid_to_string<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 1390 | 1.61k | { | 1391 | 1.61k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1392 | | | 1393 | 1.61k | SCN_EXPECT(validate_unicode(src)); | 1394 | | if constexpr (sizeof(SourceCharT) == 1) { | 1395 | | if constexpr (sizeof(DestCharT) == 2) { | 1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1397 | | std::u32string tmp; | 1398 | | transcode_valid_to_string_impl_to32(src, tmp); | 1399 | | return transcode_to_string_impl_32to16<true>( | 1400 | | std::u32string_view{tmp}, dest); | 1401 | | } | 1402 | | else if constexpr (sizeof(DestCharT) == 4) { | 1403 | | return transcode_valid_to_string_impl_to32(src, dest); | 1404 | | } | 1405 | | } | 1406 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1407 | | if constexpr (sizeof(DestCharT) == 1) { | 1408 | | std::u32string tmp; | 1409 | | transcode_valid_to_string_impl_to32(src, tmp); | 1410 | | return transcode_to_string_impl_32to8<true>( | 1411 | | std::u32string_view{tmp}, dest); | 1412 | | } | 1413 | | else if constexpr (sizeof(DestCharT) == 4) { | 1414 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1415 | | } | 1416 | | } | 1417 | 1.61k | else if constexpr (sizeof(SourceCharT) == 4) { | 1418 | 1.61k | if constexpr (sizeof(DestCharT) == 1) { | 1419 | 1.61k | return transcode_to_string_impl_32to8<true>(src, dest); | 1420 | | } | 1421 | | else if constexpr (sizeof(DestCharT) == 2) { | 1422 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1423 | | } | 1424 | 1.61k | } | 1425 | | | 1426 | 1.61k | SCN_EXPECT(false); | 1427 | 0 | SCN_UNREACHABLE; | 1428 | 1.61k | } |
|
1429 | | |
1430 | | template <typename CharT> |
1431 | | constexpr void for_each_code_point(std::basic_string_view<CharT> input, |
1432 | | function_ref<void(char32_t)> cb) |
1433 | 35.4k | { |
1434 | | // TODO: Could be optimized by being eager |
1435 | 35.4k | auto it = input.begin(); |
1436 | 113k | while (it != input.end()) { |
1437 | 78.3k | auto res = get_next_code_point( |
1438 | 78.3k | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1439 | 78.3k | cb(res.value); |
1440 | 78.3k | it = detail::make_string_view_iterator(input, res.iterator); |
1441 | 78.3k | } |
1442 | 35.4k | } void scn::v3::impl::for_each_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1433 | 29.7k | { | 1434 | | // TODO: Could be optimized by being eager | 1435 | 29.7k | auto it = input.begin(); | 1436 | 99.8k | while (it != input.end()) { | 1437 | 70.0k | auto res = get_next_code_point( | 1438 | 70.0k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1439 | 70.0k | cb(res.value); | 1440 | 70.0k | it = detail::make_string_view_iterator(input, res.iterator); | 1441 | 70.0k | } | 1442 | 29.7k | } |
void scn::v3::impl::for_each_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1433 | 5.65k | { | 1434 | | // TODO: Could be optimized by being eager | 1435 | 5.65k | auto it = input.begin(); | 1436 | 13.9k | while (it != input.end()) { | 1437 | 8.27k | auto res = get_next_code_point( | 1438 | 8.27k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1439 | 8.27k | cb(res.value); | 1440 | 8.27k | it = detail::make_string_view_iterator(input, res.iterator); | 1441 | 8.27k | } | 1442 | 5.65k | } |
|
1443 | | |
1444 | | template <typename CharT> |
1445 | | constexpr void for_each_code_point_valid(std::basic_string_view<CharT> input, |
1446 | | function_ref<void(char32_t)> cb) |
1447 | | { |
1448 | | auto it = input.begin(); |
1449 | | while (it != input.end()) { |
1450 | | auto res = get_next_code_point_valid( |
1451 | | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1452 | | cb(res.value); |
1453 | | it = detail::make_string_view_iterator(input, res.iterator); |
1454 | | } |
1455 | | } |
1456 | | |
1457 | | ///////////////////////////////////////////////////////////////// |
1458 | | // contiguous_range_factory |
1459 | | ///////////////////////////////////////////////////////////////// |
1460 | | |
1461 | | template <typename View> |
1462 | | class take_width_view; |
1463 | | |
1464 | | template <typename CharT> |
1465 | | struct string_view_wrapper { |
1466 | | using char_type = CharT; |
1467 | | using string_type = std::basic_string<CharT>; |
1468 | | using string_view_type = std::basic_string_view<CharT>; |
1469 | | |
1470 | | constexpr string_view_wrapper() = default; |
1471 | | |
1472 | | template <typename Range, |
1473 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1474 | | ranges::contiguous_range<Range> && |
1475 | | ranges::sized_range<Range>>* = nullptr> |
1476 | 59.9k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) |
1477 | 59.9k | { |
1478 | 59.9k | } _ZN3scn2v34impl19string_view_wrapperIcEC2INS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1476 | 17.9k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 17.9k | { | 1478 | 17.9k | } |
_ZN3scn2v34impl19string_view_wrapperIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISF_Esr6rangesE11sized_rangeISF_EEvE4typeELPv0EEEOSF_ Line | Count | Source | 1476 | 18.4k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 18.4k | { | 1478 | 18.4k | } |
_ZN3scn2v34impl19string_view_wrapperIwEC2INS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1476 | 15.1k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 15.1k | { | 1478 | 15.1k | } |
_ZN3scn2v34impl19string_view_wrapperIcEC2IRNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEETnPNS5_9enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISC_Esr6rangesE11sized_rangeISC_EEvE4typeELPv0EEEOSC_ Line | Count | Source | 1476 | 8.34k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 8.34k | { | 1478 | 8.34k | } |
|
1479 | | |
1480 | | template <typename Range, |
1481 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1482 | | ranges::contiguous_range<Range> && |
1483 | | ranges::sized_range<Range>>* = nullptr> |
1484 | | void assign(Range&& r) |
1485 | | { |
1486 | | sv = string_view_type{ranges::data(r), r.size()}; |
1487 | | } |
1488 | | |
1489 | | constexpr auto view() const |
1490 | 95.1k | { |
1491 | 95.1k | return sv; |
1492 | 95.1k | } scn::v3::impl::string_view_wrapper<char>::view() const Line | Count | Source | 1490 | 77.0k | { | 1491 | 77.0k | return sv; | 1492 | 77.0k | } |
scn::v3::impl::string_view_wrapper<wchar_t>::view() const Line | Count | Source | 1490 | 18.0k | { | 1491 | 18.0k | return sv; | 1492 | 18.0k | } |
|
1493 | | |
1494 | | constexpr bool stores_allocated_string() const |
1495 | 0 | { |
1496 | 0 | return false; |
1497 | 0 | } Unexecuted instantiation: scn::v3::impl::string_view_wrapper<char>::stores_allocated_string() const Unexecuted instantiation: scn::v3::impl::string_view_wrapper<wchar_t>::stores_allocated_string() const |
1498 | | |
1499 | | [[noreturn]] string_type get_allocated_string() const |
1500 | | { |
1501 | | SCN_EXPECT(false); |
1502 | | SCN_UNREACHABLE; |
1503 | | } |
1504 | | |
1505 | | string_view_type sv; |
1506 | | }; |
1507 | | |
1508 | | template <typename Range> |
1509 | | string_view_wrapper(Range) |
1510 | | -> string_view_wrapper<detail::char_t<detail::remove_cvref_t<Range>>>; |
1511 | | |
1512 | | template <typename CharT> |
1513 | | class contiguous_range_factory { |
1514 | | public: |
1515 | | using char_type = CharT; |
1516 | | using string_type = std::basic_string<CharT>; |
1517 | | using string_view_type = std::basic_string_view<CharT>; |
1518 | | |
1519 | 4.81k | contiguous_range_factory() = default; scn::v3::impl::contiguous_range_factory<char>::contiguous_range_factory() Line | Count | Source | 1519 | 2.47k | contiguous_range_factory() = default; |
scn::v3::impl::contiguous_range_factory<wchar_t>::contiguous_range_factory() Line | Count | Source | 1519 | 2.33k | contiguous_range_factory() = default; |
|
1520 | | |
1521 | | template <typename Range, |
1522 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1523 | | contiguous_range_factory(Range&& range) |
1524 | 2.36k | { |
1525 | 2.36k | emplace_range(SCN_FWD(range)); |
1526 | 2.36k | } Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1524 | 1.78k | { | 1525 | 1.78k | emplace_range(SCN_FWD(range)); | 1526 | 1.78k | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1524 | 574 | { | 1525 | 574 | emplace_range(SCN_FWD(range)); | 1526 | 574 | } |
|
1527 | | |
1528 | | contiguous_range_factory(string_view_wrapper<CharT> svw) |
1529 | | : m_storage(std::nullopt), m_view(svw.view()) |
1530 | | { |
1531 | | } |
1532 | | |
1533 | | contiguous_range_factory(const contiguous_range_factory&) = delete; |
1534 | | contiguous_range_factory& operator=(const contiguous_range_factory&) = |
1535 | | delete; |
1536 | | |
1537 | | contiguous_range_factory(contiguous_range_factory&& other) |
1538 | | : m_storage(SCN_MOVE(other.m_storage)) |
1539 | | { |
1540 | | if (m_storage) { |
1541 | | m_view = *m_storage; |
1542 | | } |
1543 | | else { |
1544 | | m_view = other.m_view; |
1545 | | } |
1546 | | } |
1547 | | contiguous_range_factory& operator=(contiguous_range_factory&& other) |
1548 | | { |
1549 | | m_storage = SCN_MOVE(other.m_storage); |
1550 | | if (m_storage) { |
1551 | | m_view = *m_storage; |
1552 | | } |
1553 | | else { |
1554 | | m_view = other.m_view; |
1555 | | } |
1556 | | return *this; |
1557 | | } |
1558 | | |
1559 | 7.17k | ~contiguous_range_factory() = default; scn::v3::impl::contiguous_range_factory<char>::~contiguous_range_factory() Line | Count | Source | 1559 | 4.26k | ~contiguous_range_factory() = default; |
scn::v3::impl::contiguous_range_factory<wchar_t>::~contiguous_range_factory() Line | Count | Source | 1559 | 2.91k | ~contiguous_range_factory() = default; |
|
1560 | | |
1561 | | template <typename Range, |
1562 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1563 | | void assign(Range&& range) |
1564 | 1.89k | { |
1565 | 1.89k | emplace_range(SCN_FWD(range)); |
1566 | 1.89k | } Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1564 | 920 | { | 1565 | 920 | emplace_range(SCN_FWD(range)); | 1566 | 920 | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1564 | 978 | { | 1565 | 978 | emplace_range(SCN_FWD(range)); | 1566 | 978 | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINSt3__112basic_stringIwNS5_11char_traitsIwEENS5_9allocatorIwEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ |
1567 | | |
1568 | | string_view_type view() const |
1569 | 6.74k | { |
1570 | 6.74k | return m_view; |
1571 | 6.74k | } scn::v3::impl::contiguous_range_factory<char>::view() const Line | Count | Source | 1569 | 4.03k | { | 1570 | 4.03k | return m_view; | 1571 | 4.03k | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::view() const Line | Count | Source | 1569 | 2.70k | { | 1570 | 2.70k | return m_view; | 1571 | 2.70k | } |
|
1572 | | |
1573 | | constexpr bool stores_allocated_string() const |
1574 | 1.16k | { |
1575 | 1.16k | return m_storage.has_value(); |
1576 | 1.16k | } scn::v3::impl::contiguous_range_factory<char>::stores_allocated_string() const Line | Count | Source | 1574 | 820 | { | 1575 | 820 | return m_storage.has_value(); | 1576 | 820 | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::stores_allocated_string() const Line | Count | Source | 1574 | 348 | { | 1575 | 348 | return m_storage.has_value(); | 1576 | 348 | } |
|
1577 | | |
1578 | | string_type& get_allocated_string() & |
1579 | 584 | { |
1580 | 584 | SCN_EXPECT(stores_allocated_string()); |
1581 | 584 | return *m_storage; |
1582 | 584 | } scn::v3::impl::contiguous_range_factory<char>::get_allocated_string() & Line | Count | Source | 1579 | 410 | { | 1580 | 410 | SCN_EXPECT(stores_allocated_string()); | 1581 | 410 | return *m_storage; | 1582 | 410 | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::get_allocated_string() & Line | Count | Source | 1579 | 174 | { | 1580 | 174 | SCN_EXPECT(stores_allocated_string()); | 1581 | 174 | return *m_storage; | 1582 | 174 | } |
|
1583 | | const string_type& get_allocated_string() const& |
1584 | | { |
1585 | | SCN_EXPECT(stores_allocated_string()); |
1586 | | return *m_storage; |
1587 | | } |
1588 | | string_type&& get_allocated_string() && |
1589 | | { |
1590 | | SCN_EXPECT(stores_allocated_string()); |
1591 | | return *m_storage; |
1592 | | } |
1593 | | |
1594 | | string_type& make_into_allocated_string() |
1595 | 0 | { |
1596 | 0 | if (stores_allocated_string()) { |
1597 | 0 | return get_allocated_string(); |
1598 | 0 | } |
1599 | | |
1600 | 0 | auto& str = m_storage.emplace(m_view.data(), m_view.size()); |
1601 | 0 | m_view = string_view_type{str.data(), str.size()}; |
1602 | 0 | return str; |
1603 | 0 | } Unexecuted instantiation: scn::v3::impl::contiguous_range_factory<char>::make_into_allocated_string() Unexecuted instantiation: scn::v3::impl::contiguous_range_factory<wchar_t>::make_into_allocated_string() |
1604 | | |
1605 | | private: |
1606 | | template <typename Range> |
1607 | | void emplace_range(Range&& range) |
1608 | 4.25k | { |
1609 | 4.25k | using value_t = ranges::range_value_t<Range>; |
1610 | | |
1611 | | if constexpr (ranges::borrowed_range<Range> && |
1612 | | ranges::contiguous_range<Range> && |
1613 | 1.89k | ranges::sized_range<Range>) { |
1614 | 1.89k | m_storage.reset(); |
1615 | 1.89k | m_view = string_view_type{ranges::data(range), range.size()}; |
1616 | | } |
1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, |
1618 | 0 | std::basic_string<CharT>>) { |
1619 | 0 | m_storage.emplace(SCN_FWD(range)); |
1620 | 0 | m_view = string_view_type{*m_storage}; |
1621 | | } |
1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, |
1623 | | typename detail::basic_scan_buffer< |
1624 | | value_t>::forward_iterator> && |
1625 | 0 | ranges::common_range<Range>) { |
1626 | 0 | auto beg_seg = range.begin().contiguous_segment(); |
1627 | 0 | auto end_seg = range.end().contiguous_segment(); |
1628 | 0 | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != |
1629 | 0 | detail::to_address(end_seg.end()))) { |
1630 | 0 | auto& str = m_storage.emplace(); |
1631 | 0 | str.reserve(range.end().position() - range.begin().position()); |
1632 | 0 | std::copy(range.begin(), range.end(), std::back_inserter(str)); |
1633 | 0 | m_view = string_view_type{str}; |
1634 | 0 | return; |
1635 | 0 | } |
1636 | | |
1637 | 0 | m_view = detail::make_string_view_from_pointers(beg_seg.data(), |
1638 | 0 | end_seg.data()); |
1639 | 0 | m_storage.reset(); |
1640 | | } |
1641 | 2.36k | else { |
1642 | 2.36k | auto& str = m_storage.emplace(); |
1643 | | if constexpr (ranges::sized_range<Range>) { |
1644 | | str.reserve(range.size()); |
1645 | | } |
1646 | 2.36k | if constexpr (ranges::common_range<Range>) { |
1647 | 2.36k | std::copy(ranges::begin(range), ranges::end(range), |
1648 | 2.36k | std::back_inserter(str)); |
1649 | | } |
1650 | | else { |
1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); |
1652 | | ++it) { |
1653 | | str.push_back(*it); |
1654 | | } |
1655 | | } |
1656 | 2.36k | m_view = string_view_type{str}; |
1657 | 2.36k | } |
1658 | 4.25k | } Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>&&) void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1608 | 1.78k | { | 1609 | 1.78k | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | | ranges::sized_range<Range>) { | 1614 | | m_storage.reset(); | 1615 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | 1.78k | else { | 1642 | 1.78k | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | 1.78k | if constexpr (ranges::common_range<Range>) { | 1647 | 1.78k | std::copy(ranges::begin(range), ranges::end(range), | 1648 | 1.78k | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | 1.78k | m_view = string_view_type{str}; | 1657 | 1.78k | } | 1658 | 1.78k | } |
void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1608 | 920 | { | 1609 | 920 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | 920 | ranges::sized_range<Range>) { | 1614 | 920 | m_storage.reset(); | 1615 | 920 | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | | else { | 1642 | | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | | if constexpr (ranges::common_range<Range>) { | 1647 | | std::copy(ranges::begin(range), ranges::end(range), | 1648 | | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | | m_view = string_view_type{str}; | 1657 | | } | 1658 | 920 | } |
Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1608 | 574 | { | 1609 | 574 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | | ranges::sized_range<Range>) { | 1614 | | m_storage.reset(); | 1615 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | 574 | else { | 1642 | 574 | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | 574 | if constexpr (ranges::common_range<Range>) { | 1647 | 574 | std::copy(ranges::begin(range), ranges::end(range), | 1648 | 574 | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | 574 | m_view = string_view_type{str}; | 1657 | 574 | } | 1658 | 574 | } |
void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1608 | 978 | { | 1609 | 978 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | 978 | ranges::sized_range<Range>) { | 1614 | 978 | m_storage.reset(); | 1615 | 978 | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | | else { | 1642 | | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | | if constexpr (ranges::common_range<Range>) { | 1647 | | std::copy(ranges::begin(range), ranges::end(range), | 1648 | | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | | m_view = string_view_type{str}; | 1657 | | } | 1658 | 978 | } |
Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&&) |
1659 | | |
1660 | | std::optional<string_type> m_storage{std::nullopt}; |
1661 | | string_view_type m_view{}; |
1662 | | }; |
1663 | | |
1664 | | template <typename Range> |
1665 | | contiguous_range_factory(Range) |
1666 | | -> contiguous_range_factory<detail::char_t<detail::remove_cvref_t<Range>>>; |
1667 | | |
1668 | | template <typename Range> |
1669 | | auto make_contiguous_buffer(Range&& range) |
1670 | 62.2k | { |
1671 | | if constexpr (ranges::borrowed_range<Range> && |
1672 | | ranges::contiguous_range<Range> && |
1673 | 59.9k | ranges::sized_range<Range>) { |
1674 | 59.9k | return string_view_wrapper{SCN_FWD(range)}; |
1675 | | } |
1676 | 2.36k | else { |
1677 | 2.36k | return contiguous_range_factory{SCN_FWD(range)}; |
1678 | 2.36k | } |
1679 | 62.2k | } Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>&&) auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1670 | 1.78k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | | ranges::sized_range<Range>) { | 1674 | | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | 1.78k | else { | 1677 | 1.78k | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | 1.78k | } | 1679 | 1.78k | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1670 | 17.9k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 17.9k | ranges::sized_range<Range>) { | 1674 | 17.9k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 17.9k | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&>(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&) Line | Count | Source | 1670 | 18.4k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 18.4k | ranges::sized_range<Range>) { | 1674 | 18.4k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 18.4k | } |
Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1670 | 574 | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | | ranges::sized_range<Range>) { | 1674 | | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | 574 | else { | 1677 | 574 | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | 574 | } | 1679 | 574 | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1670 | 15.1k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 15.1k | ranges::sized_range<Range>) { | 1674 | 15.1k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 15.1k | } |
auto scn::v3::impl::make_contiguous_buffer<std::__1::basic_string_view<char, std::__1::char_traits<char> >&>(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 1670 | 8.34k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 8.34k | ranges::sized_range<Range>) { | 1674 | 8.34k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 8.34k | } |
|
1680 | | } // namespace impl |
1681 | | |
1682 | | ///////////////////////////////////////////////////////////////// |
1683 | | // locale stuff |
1684 | | ///////////////////////////////////////////////////////////////// |
1685 | | |
1686 | | #if !SCN_DISABLE_LOCALE |
1687 | | |
1688 | | namespace detail { |
1689 | | extern template locale_ref::locale_ref(const std::locale&); |
1690 | | extern template auto locale_ref::get() const -> std::locale; |
1691 | | } // namespace detail |
1692 | | |
1693 | | namespace impl { |
1694 | | template <typename Facet> |
1695 | | const Facet& get_facet(detail::locale_ref loc) |
1696 | | { |
1697 | | auto stdloc = loc.get<std::locale>(); |
1698 | | SCN_EXPECT(std::has_facet<Facet>(stdloc)); |
1699 | | return std::use_facet<Facet>(stdloc); |
1700 | | } |
1701 | | |
1702 | | template <typename Facet> |
1703 | | const Facet& get_or_add_facet(std::locale& stdloc) |
1704 | 312 | { |
1705 | 312 | if (std::has_facet<Facet>(stdloc)) { |
1706 | 312 | return std::use_facet<Facet>(stdloc); |
1707 | 312 | } |
1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); |
1709 | 0 | return std::use_facet<Facet>(stdloc); |
1710 | 312 | } std::__1::numpunct<char> const& scn::v3::impl::get_or_add_facet<std::__1::numpunct<char> >(std::__1::locale&) Line | Count | Source | 1704 | 156 | { | 1705 | 156 | if (std::has_facet<Facet>(stdloc)) { | 1706 | 156 | return std::use_facet<Facet>(stdloc); | 1707 | 156 | } | 1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1709 | 0 | return std::use_facet<Facet>(stdloc); | 1710 | 156 | } |
std::__1::numpunct<wchar_t> const& scn::v3::impl::get_or_add_facet<std::__1::numpunct<wchar_t> >(std::__1::locale&) Line | Count | Source | 1704 | 156 | { | 1705 | 156 | if (std::has_facet<Facet>(stdloc)) { | 1706 | 156 | return std::use_facet<Facet>(stdloc); | 1707 | 156 | } | 1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1709 | 0 | return std::use_facet<Facet>(stdloc); | 1710 | 156 | } |
|
1711 | | |
1712 | | class clocale_restorer { |
1713 | | public: |
1714 | 0 | clocale_restorer(int cat) : m_category(cat) |
1715 | 0 | { |
1716 | 0 | const auto loc = std::setlocale(cat, nullptr); |
1717 | 0 | std::strcpy(m_locbuf, loc); |
1718 | 0 | } |
1719 | | ~clocale_restorer() |
1720 | 0 | { |
1721 | | // Restore locale to what it was before |
1722 | 0 | std::setlocale(m_category, m_locbuf); |
1723 | 0 | } |
1724 | | |
1725 | | clocale_restorer(const clocale_restorer&) = delete; |
1726 | | clocale_restorer(clocale_restorer&&) = delete; |
1727 | | clocale_restorer& operator=(const clocale_restorer&) = delete; |
1728 | | clocale_restorer& operator=(clocale_restorer&&) = delete; |
1729 | | |
1730 | | private: |
1731 | | // For whatever reason, this cannot be stored in the heap if |
1732 | | // setlocale hasn't been called before, or msan errors with |
1733 | | // 'use-of-unitialized-value' when resetting the locale |
1734 | | // back. POSIX specifies that the content of loc may not be |
1735 | | // static, so we need to save it ourselves |
1736 | | char m_locbuf[64] = {0}; |
1737 | | |
1738 | | int m_category; |
1739 | | }; |
1740 | | |
1741 | | class set_clocale_classic_guard { |
1742 | | public: |
1743 | 0 | set_clocale_classic_guard(int cat) : m_restorer(cat) |
1744 | 0 | { |
1745 | 0 | std::setlocale(cat, "C"); |
1746 | 0 | } |
1747 | | |
1748 | | private: |
1749 | | clocale_restorer m_restorer; |
1750 | | }; |
1751 | | } // namespace impl |
1752 | | |
1753 | | namespace impl { |
1754 | | struct classic_with_thsep_tag {}; |
1755 | | |
1756 | | template <typename CharT> |
1757 | | struct localized_number_formatting_options { |
1758 | 2.40k | localized_number_formatting_options() = default; scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options() Line | Count | Source | 1758 | 1.23k | localized_number_formatting_options() = default; |
scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options() Line | Count | Source | 1758 | 1.16k | localized_number_formatting_options() = default; |
|
1759 | | |
1760 | | localized_number_formatting_options(classic_with_thsep_tag) |
1761 | 0 | { |
1762 | 0 | grouping = "\3"; |
1763 | 0 | thousands_sep = CharT{','}; |
1764 | 0 | } Unexecuted instantiation: scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v3::impl::classic_with_thsep_tag) Unexecuted instantiation: scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v3::impl::classic_with_thsep_tag) |
1765 | | |
1766 | | localized_number_formatting_options(detail::locale_ref loc) |
1767 | 242 | { |
1768 | 242 | auto stdloc = loc.get<std::locale>(); |
1769 | 242 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); |
1770 | 242 | grouping = numpunct.grouping(); |
1771 | 242 | thousands_sep = |
1772 | 242 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; |
1773 | 242 | decimal_point = numpunct.decimal_point(); |
1774 | 242 | } scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v3::detail::locale_ref) Line | Count | Source | 1767 | 122 | { | 1768 | 122 | auto stdloc = loc.get<std::locale>(); | 1769 | 122 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1770 | 122 | grouping = numpunct.grouping(); | 1771 | 122 | thousands_sep = | 1772 | 122 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1773 | 122 | decimal_point = numpunct.decimal_point(); | 1774 | 122 | } |
scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v3::detail::locale_ref) Line | Count | Source | 1767 | 120 | { | 1768 | 120 | auto stdloc = loc.get<std::locale>(); | 1769 | 120 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1770 | 120 | grouping = numpunct.grouping(); | 1771 | 120 | thousands_sep = | 1772 | 120 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1773 | 120 | decimal_point = numpunct.decimal_point(); | 1774 | 120 | } |
|
1775 | | |
1776 | | std::string grouping{}; |
1777 | | CharT thousands_sep{0}; |
1778 | | CharT decimal_point{CharT{'.'}}; |
1779 | | }; |
1780 | | } // namespace impl |
1781 | | |
1782 | | #else |
1783 | | |
1784 | | namespace impl { |
1785 | | struct set_clocale_classic_guard { |
1786 | | set_clocale_classic_guard(int) {} |
1787 | | }; |
1788 | | |
1789 | | struct classic_with_thsep_tag {}; |
1790 | | |
1791 | | template <typename CharT> |
1792 | | struct localized_number_formatting_options { |
1793 | | localized_number_formatting_options() = default; |
1794 | | |
1795 | | localized_number_formatting_options(classic_with_thsep_tag) |
1796 | | { |
1797 | | grouping = "\3"; |
1798 | | thousands_sep = CharT{','}; |
1799 | | } |
1800 | | |
1801 | | std::string grouping{}; |
1802 | | CharT thousands_sep{0}; |
1803 | | CharT decimal_point{CharT{'.'}}; |
1804 | | }; |
1805 | | } // namespace impl |
1806 | | |
1807 | | #endif // !SCN_DISABLE_LOCALE |
1808 | | |
1809 | | ///////////////////////////////////////////////////////////////// |
1810 | | // Range reading algorithms |
1811 | | ///////////////////////////////////////////////////////////////// |
1812 | | |
1813 | | namespace impl { |
1814 | | |
1815 | | std::string_view::iterator find_classic_space_narrow_fast( |
1816 | | std::string_view source); |
1817 | | |
1818 | | std::string_view::iterator find_classic_nonspace_narrow_fast( |
1819 | | std::string_view source); |
1820 | | |
1821 | | std::string_view::iterator find_nondecimal_digit_narrow_fast( |
1822 | | std::string_view source); |
1823 | | |
1824 | | template <typename Range> |
1825 | | auto read_all(Range range) -> ranges::const_iterator_t<Range> |
1826 | 2.04k | { |
1827 | 2.04k | return ranges::next(range.begin(), range.end()); |
1828 | 2.04k | } _ZN3scn2v34impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1826 | 920 | { | 1827 | 920 | return ranges::next(range.begin(), range.end()); | 1828 | 920 | } |
Unexecuted instantiation: _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1826 | 96 | { | 1827 | 96 | return ranges::next(range.begin(), range.end()); | 1828 | 96 | } |
_ZN3scn2v34impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1826 | 978 | { | 1827 | 978 | return ranges::next(range.begin(), range.end()); | 1828 | 978 | } |
Unexecuted instantiation: _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1826 | 48 | { | 1827 | 48 | return ranges::next(range.begin(), range.end()); | 1828 | 48 | } |
|
1829 | | |
1830 | | template <typename Range> |
1831 | | auto read_code_unit(Range range) |
1832 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1833 | 17.1k | { |
1834 | 17.1k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1835 | 0 | return unexpected(e); |
1836 | 0 | } |
1837 | | |
1838 | 17.1k | return ranges::next(range.begin()); |
1839 | 17.1k | } Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1833 | 2.05k | { | 1834 | 2.05k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 2.05k | return ranges::next(range.begin()); | 1839 | 2.05k | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1833 | 34 | { | 1834 | 34 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 34 | return ranges::next(range.begin()); | 1839 | 34 | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1833 | 6.77k | { | 1834 | 6.77k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 6.77k | return ranges::next(range.begin()); | 1839 | 6.77k | } |
Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1833 | 1.31k | { | 1834 | 1.31k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 1.31k | return ranges::next(range.begin()); | 1839 | 1.31k | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1833 | 38 | { | 1834 | 38 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 38 | return ranges::next(range.begin()); | 1839 | 38 | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1833 | 6.93k | { | 1834 | 6.93k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 6.93k | return ranges::next(range.begin()); | 1839 | 6.93k | } |
|
1840 | | |
1841 | | template <typename Range> |
1842 | | auto read_exactly_n_code_units(Range range, std::ptrdiff_t count) |
1843 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1844 | 39.9k | { |
1845 | 39.9k | SCN_EXPECT(count >= 0); |
1846 | | |
1847 | 39.9k | if constexpr (ranges::sized_range<Range>) { |
1848 | 33.9k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); |
1849 | 33.9k | if (sz < count) { |
1850 | 574 | return unexpected(eof_error::eof); |
1851 | 574 | } |
1852 | | |
1853 | 33.3k | return ranges::next(range.begin(), count); |
1854 | | } |
1855 | 6.00k | else { |
1856 | 6.00k | auto it = range.begin(); |
1857 | 6.00k | if (guaranteed_minimum_size(range) >= count) { |
1858 | 0 | return ranges::next(it, count); |
1859 | 0 | } |
1860 | | |
1861 | 23.3k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { |
1862 | 17.9k | if (it == range.end()) { |
1863 | 562 | return unexpected(eof_error::eof); |
1864 | 562 | } |
1865 | 17.9k | } |
1866 | | |
1867 | 5.44k | return it; |
1868 | 6.00k | } |
1869 | 39.9k | } Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1844 | 27.8k | { | 1845 | 27.8k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | 27.8k | if constexpr (ranges::sized_range<Range>) { | 1848 | 27.8k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | 27.8k | if (sz < count) { | 1850 | 440 | return unexpected(eof_error::eof); | 1851 | 440 | } | 1852 | | | 1853 | 27.4k | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | | else { | 1856 | | auto it = range.begin(); | 1857 | | if (guaranteed_minimum_size(range) >= count) { | 1858 | | return ranges::next(it, count); | 1859 | | } | 1860 | | | 1861 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | | if (it == range.end()) { | 1863 | | return unexpected(eof_error::eof); | 1864 | | } | 1865 | | } | 1866 | | | 1867 | | return it; | 1868 | | } | 1869 | 27.8k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1844 | 3.85k | { | 1845 | 3.85k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 3.85k | else { | 1856 | 3.85k | auto it = range.begin(); | 1857 | 3.85k | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 14.1k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 10.5k | if (it == range.end()) { | 1863 | 210 | return unexpected(eof_error::eof); | 1864 | 210 | } | 1865 | 10.5k | } | 1866 | | | 1867 | 3.64k | return it; | 1868 | 3.85k | } | 1869 | 3.85k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1844 | 6.03k | { | 1845 | 6.03k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | 6.03k | if constexpr (ranges::sized_range<Range>) { | 1848 | 6.03k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | 6.03k | if (sz < count) { | 1850 | 134 | return unexpected(eof_error::eof); | 1851 | 134 | } | 1852 | | | 1853 | 5.90k | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | | else { | 1856 | | auto it = range.begin(); | 1857 | | if (guaranteed_minimum_size(range) >= count) { | 1858 | | return ranges::next(it, count); | 1859 | | } | 1860 | | | 1861 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | | if (it == range.end()) { | 1863 | | return unexpected(eof_error::eof); | 1864 | | } | 1865 | | } | 1866 | | | 1867 | | return it; | 1868 | | } | 1869 | 6.03k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1844 | 796 | { | 1845 | 796 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 796 | else { | 1856 | 796 | auto it = range.begin(); | 1857 | 796 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 2.64k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 1.93k | if (it == range.end()) { | 1863 | 92 | return unexpected(eof_error::eof); | 1864 | 92 | } | 1865 | 1.93k | } | 1866 | | | 1867 | 704 | return it; | 1868 | 796 | } | 1869 | 796 | } |
_ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l Line | Count | Source | 1844 | 262 | { | 1845 | 262 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 262 | else { | 1856 | 262 | auto it = range.begin(); | 1857 | 262 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 1.07k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 866 | if (it == range.end()) { | 1863 | 52 | return unexpected(eof_error::eof); | 1864 | 52 | } | 1865 | 866 | } | 1866 | | | 1867 | 210 | return it; | 1868 | 262 | } | 1869 | 262 | } |
_ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1844 | 696 | { | 1845 | 696 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 696 | else { | 1856 | 696 | auto it = range.begin(); | 1857 | 696 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 3.47k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 2.91k | if (it == range.end()) { | 1863 | 138 | return unexpected(eof_error::eof); | 1864 | 138 | } | 1865 | 2.91k | } | 1866 | | | 1867 | 558 | return it; | 1868 | 696 | } | 1869 | 696 | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1844 | 396 | { | 1845 | 396 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 396 | else { | 1856 | 396 | auto it = range.begin(); | 1857 | 396 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 1.99k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 1.67k | if (it == range.end()) { | 1863 | 70 | return unexpected(eof_error::eof); | 1864 | 70 | } | 1865 | 1.67k | } | 1866 | | | 1867 | 326 | return it; | 1868 | 396 | } | 1869 | 396 | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l |
1870 | | |
1871 | | template <typename Iterator, typename CharT> |
1872 | | struct read_code_point_into_result { |
1873 | | Iterator iterator; |
1874 | | std::basic_string<CharT> codepoint; |
1875 | | |
1876 | | bool is_valid() const |
1877 | 865k | { |
1878 | 865k | return !codepoint.empty(); |
1879 | 865k | } Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, char>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, char>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, char>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, char>::is_valid() const Line | Count | Source | 1877 | 49.0k | { | 1878 | 49.0k | return !codepoint.empty(); | 1879 | 49.0k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, char>::is_valid() const scn::v3::impl::read_code_point_into_result<char const*, char>::is_valid() const Line | Count | Source | 1877 | 702k | { | 1878 | 702k | return !codepoint.empty(); | 1879 | 702k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, wchar_t>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, wchar_t>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, wchar_t>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, wchar_t>::is_valid() const Line | Count | Source | 1877 | 16.5k | { | 1878 | 16.5k | return !codepoint.empty(); | 1879 | 16.5k | } |
scn::v3::impl::read_code_point_into_result<wchar_t const*, wchar_t>::is_valid() const Line | Count | Source | 1877 | 92.6k | { | 1878 | 92.6k | return !codepoint.empty(); | 1879 | 92.6k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, wchar_t>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, char>::is_valid() const Line | Count | Source | 1877 | 3.20k | { | 1878 | 3.20k | return !codepoint.empty(); | 1879 | 3.20k | } |
scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, wchar_t>::is_valid() const Line | Count | Source | 1877 | 1.28k | { | 1878 | 1.28k | return !codepoint.empty(); | 1879 | 1.28k | } |
|
1880 | | }; |
1881 | | |
1882 | | template <typename Range> |
1883 | | auto read_code_point_into(Range range) |
1884 | | -> read_code_point_into_result<ranges::const_iterator_t<Range>, |
1885 | | detail::char_t<Range>> |
1886 | 865k | { |
1887 | 865k | SCN_EXPECT(!is_range_eof(range)); |
1888 | 865k | using string_type = std::basic_string<detail::char_t<Range>>; |
1889 | | |
1890 | 865k | auto it = range.begin(); |
1891 | 865k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1892 | | |
1893 | 865k | if (SCN_UNLIKELY(len == 0)) { |
1894 | 9.59k | ++it; |
1895 | 9.59k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); |
1896 | 9.59k | return {it, {}}; |
1897 | 9.59k | } |
1898 | | |
1899 | 855k | if (len == 1) { |
1900 | 751k | ++it; |
1901 | 751k | return {it, string_type(1, *range.begin())}; |
1902 | 751k | } |
1903 | | |
1904 | 103k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); |
1905 | 103k | return {it, string_type{range.begin(), it}}; |
1906 | 855k | } Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1886 | 49.0k | { | 1887 | 49.0k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 49.0k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 49.0k | auto it = range.begin(); | 1891 | 49.0k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 49.0k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 7.47k | ++it; | 1895 | 7.47k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 7.47k | return {it, {}}; | 1897 | 7.47k | } | 1898 | | | 1899 | 41.6k | if (len == 1) { | 1900 | 36.9k | ++it; | 1901 | 36.9k | return {it, string_type(1, *range.begin())}; | 1902 | 36.9k | } | 1903 | | | 1904 | 4.68k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 4.68k | return {it, string_type{range.begin(), it}}; | 1906 | 41.6k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1886 | 702k | { | 1887 | 702k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 702k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 702k | auto it = range.begin(); | 1891 | 702k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 702k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 2.11k | ++it; | 1895 | 2.11k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 2.11k | return {it, {}}; | 1897 | 2.11k | } | 1898 | | | 1899 | 700k | if (len == 1) { | 1900 | 602k | ++it; | 1901 | 602k | return {it, string_type(1, *range.begin())}; | 1902 | 602k | } | 1903 | | | 1904 | 98.3k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 98.3k | return {it, string_type{range.begin(), it}}; | 1906 | 700k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1886 | 92.6k | { | 1887 | 92.6k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 92.6k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 92.6k | auto it = range.begin(); | 1891 | 92.6k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 92.6k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 92.6k | if (len == 1) { | 1900 | 92.6k | ++it; | 1901 | 92.6k | return {it, string_type(1, *range.begin())}; | 1902 | 92.6k | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 92.6k | } |
_ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1886 | 16.5k | { | 1887 | 16.5k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 16.5k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 16.5k | auto it = range.begin(); | 1891 | 16.5k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 16.5k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 16.5k | if (len == 1) { | 1900 | 16.5k | ++it; | 1901 | 16.5k | return {it, string_type(1, *range.begin())}; | 1902 | 16.5k | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 16.5k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1886 | 3.20k | { | 1887 | 3.20k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 3.20k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 3.20k | auto it = range.begin(); | 1891 | 3.20k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 3.20k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 3.20k | if (len == 1) { | 1900 | 2.48k | ++it; | 1901 | 2.48k | return {it, string_type(1, *range.begin())}; | 1902 | 2.48k | } | 1903 | | | 1904 | 724 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 724 | return {it, string_type{range.begin(), it}}; | 1906 | 3.20k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1886 | 1.28k | { | 1887 | 1.28k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 1.28k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 1.28k | auto it = range.begin(); | 1891 | 1.28k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 1.28k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 1.28k | if (len == 1) { | 1900 | 1.28k | ++it; | 1901 | 1.28k | return {it, string_type(1, *range.begin())}; | 1902 | 1.28k | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ |
1907 | | |
1908 | | template <typename Range> |
1909 | | auto read_code_point(Range range) -> ranges::const_iterator_t<Range> |
1910 | | { |
1911 | | return read_code_point_into(range).iterator; |
1912 | | } |
1913 | | |
1914 | | template <typename Range> |
1915 | | auto read_exactly_n_code_points(Range range, std::ptrdiff_t count) |
1916 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1917 | | { |
1918 | | SCN_EXPECT(count >= 0); |
1919 | | |
1920 | | if (count > 0) { |
1921 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1922 | | return unexpected(e); |
1923 | | } |
1924 | | } |
1925 | | |
1926 | | auto it = range.begin(); |
1927 | | for (std::ptrdiff_t i = 0; i < count; ++i) { |
1928 | | auto rng = ranges::subrange{it, range.end()}; |
1929 | | |
1930 | | if (auto e = eof_check(rng); SCN_UNLIKELY(!e)) { |
1931 | | return unexpected(e); |
1932 | | } |
1933 | | |
1934 | | it = read_code_point(rng); |
1935 | | } |
1936 | | |
1937 | | return it; |
1938 | | } |
1939 | | |
1940 | | template <typename Range> |
1941 | | auto read_until_code_unit(Range range, |
1942 | | function_ref<bool(detail::char_t<Range>)> pred) |
1943 | | -> ranges::const_iterator_t<Range> |
1944 | 9.31k | { |
1945 | 9.31k | if constexpr (ranges::common_range<Range>) { |
1946 | 5.90k | return std::find_if(range.begin(), range.end(), pred); |
1947 | | } |
1948 | 3.40k | else { |
1949 | 3.40k | auto first = range.begin(); |
1950 | 13.9k | for (; first != range.end(); ++first) { |
1951 | 13.4k | if (pred(*first)) { |
1952 | 2.91k | return first; |
1953 | 2.91k | } |
1954 | 13.4k | } |
1955 | 490 | return first; |
1956 | 3.40k | } |
1957 | 9.31k | } Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1944 | 1.16k | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 1.16k | else { | 1949 | 1.16k | auto first = range.begin(); | 1950 | 1.16k | for (; first != range.end(); ++first) { | 1951 | 1.16k | if (pred(*first)) { | 1952 | 1.16k | return first; | 1953 | 1.16k | } | 1954 | 1.16k | } | 1955 | 0 | return first; | 1956 | 1.16k | } | 1957 | 1.16k | } |
_ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1944 | 5.21k | { | 1945 | 5.21k | if constexpr (ranges::common_range<Range>) { | 1946 | 5.21k | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | | else { | 1949 | | auto first = range.begin(); | 1950 | | for (; first != range.end(); ++first) { | 1951 | | if (pred(*first)) { | 1952 | | return first; | 1953 | | } | 1954 | | } | 1955 | | return first; | 1956 | | } | 1957 | 5.21k | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1944 | 530 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 530 | else { | 1949 | 530 | auto first = range.begin(); | 1950 | 9.20k | for (; first != range.end(); ++first) { | 1951 | 8.92k | if (pred(*first)) { | 1952 | 250 | return first; | 1953 | 250 | } | 1954 | 8.92k | } | 1955 | 280 | return first; | 1956 | 530 | } | 1957 | 530 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1944 | 718 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 718 | else { | 1949 | 718 | auto first = range.begin(); | 1950 | 718 | for (; first != range.end(); ++first) { | 1951 | 718 | if (pred(*first)) { | 1952 | 718 | return first; | 1953 | 718 | } | 1954 | 718 | } | 1955 | 0 | return first; | 1956 | 718 | } | 1957 | 718 | } |
_ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1944 | 694 | { | 1945 | 694 | if constexpr (ranges::common_range<Range>) { | 1946 | 694 | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | | else { | 1949 | | auto first = range.begin(); | 1950 | | for (; first != range.end(); ++first) { | 1951 | | if (pred(*first)) { | 1952 | | return first; | 1953 | | } | 1954 | | } | 1955 | | return first; | 1956 | | } | 1957 | 694 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1944 | 220 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 220 | else { | 1949 | 220 | auto first = range.begin(); | 1950 | 1.75k | for (; first != range.end(); ++first) { | 1951 | 1.63k | if (pred(*first)) { | 1952 | 98 | return first; | 1953 | 98 | } | 1954 | 1.63k | } | 1955 | 122 | return first; | 1956 | 220 | } | 1957 | 220 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1944 | 542 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 542 | else { | 1949 | 542 | auto first = range.begin(); | 1950 | 778 | for (; first != range.end(); ++first) { | 1951 | 724 | if (pred(*first)) { | 1952 | 488 | return first; | 1953 | 488 | } | 1954 | 724 | } | 1955 | 54 | return first; | 1956 | 542 | } | 1957 | 542 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1944 | 234 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 234 | else { | 1949 | 234 | auto first = range.begin(); | 1950 | 314 | for (; first != range.end(); ++first) { | 1951 | 280 | if (pred(*first)) { | 1952 | 200 | return first; | 1953 | 200 | } | 1954 | 280 | } | 1955 | 34 | return first; | 1956 | 234 | } | 1957 | 234 | } |
|
1958 | | |
1959 | | template <typename Range> |
1960 | | auto read_while_code_unit(Range range, |
1961 | | function_ref<bool(detail::char_t<Range>)> pred) |
1962 | | -> ranges::const_iterator_t<Range> |
1963 | 8.56k | { |
1964 | 8.56k | return read_until_code_unit(range, std::not_fn(pred)); |
1965 | 8.56k | } Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1963 | 1.16k | { | 1964 | 1.16k | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 1.16k | } |
_ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1963 | 5.00k | { | 1964 | 5.00k | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 5.00k | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1963 | 272 | { | 1964 | 272 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 272 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1963 | 718 | { | 1964 | 718 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 718 | } |
_ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1963 | 544 | { | 1964 | 544 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 544 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1963 | 94 | { | 1964 | 94 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 94 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1963 | 542 | { | 1964 | 542 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 542 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1963 | 234 | { | 1964 | 234 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 234 | } |
|
1966 | | |
1967 | | template <typename Range> |
1968 | | auto read_until1_code_unit(Range range, |
1969 | | function_ref<bool(detail::char_t<Range>)> pred) |
1970 | | -> parse_expected<ranges::const_iterator_t<Range>> |
1971 | | { |
1972 | | auto it = read_until_code_unit(range, pred); |
1973 | | if (it == range.begin()) { |
1974 | | return unexpected(parse_error::error); |
1975 | | } |
1976 | | return it; |
1977 | | } |
1978 | | |
1979 | | template <typename Range> |
1980 | | auto read_while1_code_unit(Range range, |
1981 | | function_ref<bool(detail::char_t<Range>)> pred) |
1982 | | -> parse_expected<ranges::const_iterator_t<Range>> |
1983 | 1.91k | { |
1984 | 1.91k | auto it = read_while_code_unit(range, pred); |
1985 | 1.91k | if (it == range.begin()) { |
1986 | 1.91k | return unexpected(parse_error::error); |
1987 | 1.91k | } |
1988 | 0 | return it; |
1989 | 1.91k | } Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 1983 | 1.16k | { | 1984 | 1.16k | auto it = read_while_code_unit(range, pred); | 1985 | 1.16k | if (it == range.begin()) { | 1986 | 1.16k | return unexpected(parse_error::error); | 1987 | 1.16k | } | 1988 | 0 | return it; | 1989 | 1.16k | } |
_ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1983 | 26 | { | 1984 | 26 | auto it = read_while_code_unit(range, pred); | 1985 | 26 | if (it == range.begin()) { | 1986 | 26 | return unexpected(parse_error::error); | 1987 | 26 | } | 1988 | 0 | return it; | 1989 | 26 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 1983 | 718 | { | 1984 | 718 | auto it = read_while_code_unit(range, pred); | 1985 | 718 | if (it == range.begin()) { | 1986 | 718 | return unexpected(parse_error::error); | 1987 | 718 | } | 1988 | 0 | return it; | 1989 | 718 | } |
_ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1983 | 8 | { | 1984 | 8 | auto it = read_while_code_unit(range, pred); | 1985 | 8 | if (it == range.begin()) { | 1986 | 8 | return unexpected(parse_error::error); | 1987 | 8 | } | 1988 | 0 | return it; | 1989 | 8 | } |
|
1990 | | |
1991 | | template <typename Range, typename CodeUnits> |
1992 | | auto read_until_code_units(Range range, const CodeUnits& needle) |
1993 | | -> ranges::const_iterator_t<Range> |
1994 | 186 | { |
1995 | 186 | static_assert(ranges::common_range<CodeUnits>); |
1996 | | |
1997 | 186 | if constexpr (ranges::common_range<Range>) { |
1998 | 84 | return std::search(range.begin(), range.end(), needle.begin(), |
1999 | 84 | needle.end()); |
2000 | | } |
2001 | 102 | else { |
2002 | 102 | auto first = range.begin(); |
2003 | 732 | while (true) { |
2004 | 732 | auto it = first; |
2005 | 906 | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { |
2006 | 906 | if (needle_it == needle.end()) { |
2007 | 54 | return first; |
2008 | 54 | } |
2009 | 852 | if (it == range.end()) { |
2010 | 48 | return it; |
2011 | 48 | } |
2012 | 804 | if (*it != *needle_it) { |
2013 | 630 | break; |
2014 | 630 | } |
2015 | 804 | } |
2016 | 630 | ++first; |
2017 | 630 | } |
2018 | 102 | } |
2019 | 186 | } Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 1994 | 102 | { | 1995 | 102 | static_assert(ranges::common_range<CodeUnits>); | 1996 | | | 1997 | | if constexpr (ranges::common_range<Range>) { | 1998 | | return std::search(range.begin(), range.end(), needle.begin(), | 1999 | | needle.end()); | 2000 | | } | 2001 | 102 | else { | 2002 | 102 | auto first = range.begin(); | 2003 | 732 | while (true) { | 2004 | 732 | auto it = first; | 2005 | 906 | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2006 | 906 | if (needle_it == needle.end()) { | 2007 | 54 | return first; | 2008 | 54 | } | 2009 | 852 | if (it == range.end()) { | 2010 | 48 | return it; | 2011 | 48 | } | 2012 | 804 | if (*it != *needle_it) { | 2013 | 630 | break; | 2014 | 630 | } | 2015 | 804 | } | 2016 | 630 | ++first; | 2017 | 630 | } | 2018 | 102 | } | 2019 | 102 | } |
_ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 1994 | 84 | { | 1995 | 84 | static_assert(ranges::common_range<CodeUnits>); | 1996 | | | 1997 | 84 | if constexpr (ranges::common_range<Range>) { | 1998 | 84 | return std::search(range.begin(), range.end(), needle.begin(), | 1999 | 84 | needle.end()); | 2000 | | } | 2001 | | else { | 2002 | | auto first = range.begin(); | 2003 | | while (true) { | 2004 | | auto it = first; | 2005 | | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2006 | | if (needle_it == needle.end()) { | 2007 | | return first; | 2008 | | } | 2009 | | if (it == range.end()) { | 2010 | | return it; | 2011 | | } | 2012 | | if (*it != *needle_it) { | 2013 | | break; | 2014 | | } | 2015 | | } | 2016 | | ++first; | 2017 | | } | 2018 | | } | 2019 | 84 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ |
2020 | | |
2021 | | template <typename Range, typename CodeUnits> |
2022 | | auto read_while_code_units(Range range, const CodeUnits& needle) |
2023 | | -> ranges::const_iterator_t<Range> |
2024 | 646 | { |
2025 | 646 | static_assert(ranges::common_range<CodeUnits>); |
2026 | | |
2027 | 646 | auto it = range.begin(); |
2028 | 950 | while (it != range.end()) { |
2029 | 914 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, |
2030 | 914 | needle.size()); |
2031 | 914 | if (!r) { |
2032 | 86 | return it; |
2033 | 86 | } |
2034 | 828 | static_assert( |
2035 | 828 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); |
2036 | 828 | if (!std::equal(it, *r, needle.begin())) { |
2037 | 524 | return it; |
2038 | 524 | } |
2039 | 304 | it = *r; |
2040 | 304 | } |
2041 | 36 | SCN_ENSURE(it == range.end()); |
2042 | 36 | return it; |
2043 | 36 | } Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2024 | 206 | { | 2025 | 206 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 206 | auto it = range.begin(); | 2028 | 364 | while (it != range.end()) { | 2029 | 364 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 364 | needle.size()); | 2031 | 364 | if (!r) { | 2032 | 6 | return it; | 2033 | 6 | } | 2034 | 358 | static_assert( | 2035 | 358 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 358 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 200 | return it; | 2038 | 200 | } | 2039 | 158 | it = *r; | 2040 | 158 | } | 2041 | 0 | SCN_ENSURE(it == range.end()); | 2042 | 0 | return it; | 2043 | 0 | } |
_ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2024 | 178 | { | 2025 | 178 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 178 | auto it = range.begin(); | 2028 | 324 | while (it != range.end()) { | 2029 | 288 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 288 | needle.size()); | 2031 | 288 | if (!r) { | 2032 | 28 | return it; | 2033 | 28 | } | 2034 | 260 | static_assert( | 2035 | 260 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 260 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 114 | return it; | 2038 | 114 | } | 2039 | 146 | it = *r; | 2040 | 146 | } | 2041 | 36 | SCN_ENSURE(it == range.end()); | 2042 | 36 | return it; | 2043 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Line | Count | Source | 2024 | 262 | { | 2025 | 262 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 262 | auto it = range.begin(); | 2028 | 262 | while (it != range.end()) { | 2029 | 262 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 262 | needle.size()); | 2031 | 262 | if (!r) { | 2032 | 52 | return it; | 2033 | 52 | } | 2034 | 210 | static_assert( | 2035 | 210 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 210 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 210 | return it; | 2038 | 210 | } | 2039 | 0 | it = *r; | 2040 | 0 | } | 2041 | 0 | SCN_ENSURE(it == range.end()); | 2042 | 0 | return it; | 2043 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ |
2044 | | |
2045 | | template <typename Range> |
2046 | | auto read_until_code_point(Range range, function_ref<bool(char32_t)> pred) |
2047 | | -> ranges::const_iterator_t<Range> |
2048 | 31.2k | { |
2049 | 31.2k | auto it = range.begin(); |
2050 | 871k | while (it != range.end()) { |
2051 | 865k | const auto val = |
2052 | 865k | read_code_point_into(ranges::subrange{it, range.end()}); |
2053 | 865k | if (SCN_LIKELY(val.is_valid())) { |
2054 | 855k | const auto cp = detail::decode_code_point_exhaustive( |
2055 | 855k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); |
2056 | 855k | if (pred(cp)) { |
2057 | 24.9k | return it; |
2058 | 24.9k | } |
2059 | 855k | } |
2060 | 840k | it = val.iterator; |
2061 | 840k | } |
2062 | | |
2063 | 6.28k | return it; |
2064 | 31.2k | } Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2048 | 1.00k | { | 2049 | 1.00k | auto it = range.begin(); | 2050 | 35.6k | while (it != range.end()) { | 2051 | 35.3k | const auto val = | 2052 | 35.3k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 35.3k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 31.0k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 31.0k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 31.0k | if (pred(cp)) { | 2057 | 740 | return it; | 2058 | 740 | } | 2059 | 31.0k | } | 2060 | 34.6k | it = val.iterator; | 2061 | 34.6k | } | 2062 | | | 2063 | 262 | return it; | 2064 | 1.00k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2048 | 804 | { | 2049 | 804 | auto it = range.begin(); | 2050 | 14.3k | while (it != range.end()) { | 2051 | 13.7k | const auto val = | 2052 | 13.7k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 13.7k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 10.5k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 10.5k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 10.5k | if (pred(cp)) { | 2057 | 198 | return it; | 2058 | 198 | } | 2059 | 10.5k | } | 2060 | 13.5k | it = val.iterator; | 2061 | 13.5k | } | 2062 | | | 2063 | 606 | return it; | 2064 | 804 | } |
_ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2048 | 4.07k | { | 2049 | 4.07k | auto it = range.begin(); | 2050 | 702k | while (it != range.end()) { | 2051 | 702k | const auto val = | 2052 | 702k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 702k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 700k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 700k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 700k | if (pred(cp)) { | 2057 | 3.84k | return it; | 2058 | 3.84k | } | 2059 | 700k | } | 2060 | 698k | it = val.iterator; | 2061 | 698k | } | 2062 | | | 2063 | 234 | return it; | 2064 | 4.07k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_until_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2048 | 4.35k | { | 2049 | 4.35k | auto it = range.begin(); | 2050 | 9.13k | while (it != range.end()) { | 2051 | 7.80k | const auto val = | 2052 | 7.80k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 7.80k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 7.80k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 7.80k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 7.80k | if (pred(cp)) { | 2057 | 3.02k | return it; | 2058 | 3.02k | } | 2059 | 7.80k | } | 2060 | 4.78k | it = val.iterator; | 2061 | 4.78k | } | 2062 | | | 2063 | 1.33k | return it; | 2064 | 4.35k | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2048 | 490 | { | 2049 | 490 | auto it = range.begin(); | 2050 | 1.50k | while (it != range.end()) { | 2051 | 1.45k | const auto val = | 2052 | 1.45k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 1.45k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 1.45k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 1.45k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 1.45k | if (pred(cp)) { | 2057 | 442 | return it; | 2058 | 442 | } | 2059 | 1.45k | } | 2060 | 1.01k | it = val.iterator; | 2061 | 1.01k | } | 2062 | | | 2063 | 48 | return it; | 2064 | 490 | } |
_ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2048 | 16.5k | { | 2049 | 16.5k | auto it = range.begin(); | 2050 | 88.0k | while (it != range.end()) { | 2051 | 84.8k | const auto val = | 2052 | 84.8k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 84.8k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 84.8k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 84.8k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 84.8k | if (pred(cp)) { | 2057 | 13.3k | return it; | 2058 | 13.3k | } | 2059 | 84.8k | } | 2060 | 71.4k | it = val.iterator; | 2061 | 71.4k | } | 2062 | | | 2063 | 3.22k | return it; | 2064 | 16.5k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2048 | 486 | { | 2049 | 486 | auto it = range.begin(); | 2050 | 15.4k | while (it != range.end()) { | 2051 | 15.0k | const auto val = | 2052 | 15.0k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 15.0k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 15.0k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 15.0k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 15.0k | if (pred(cp)) { | 2057 | 84 | return it; | 2058 | 84 | } | 2059 | 15.0k | } | 2060 | 14.9k | it = val.iterator; | 2061 | 14.9k | } | 2062 | | | 2063 | 402 | return it; | 2064 | 486 | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2048 | 2.13k | { | 2049 | 2.13k | auto it = range.begin(); | 2050 | 3.38k | while (it != range.end()) { | 2051 | 3.20k | const auto val = | 2052 | 3.20k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 3.20k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 3.20k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 3.20k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 3.20k | if (pred(cp)) { | 2057 | 1.96k | return it; | 2058 | 1.96k | } | 2059 | 3.20k | } | 2060 | 1.24k | it = val.iterator; | 2061 | 1.24k | } | 2062 | | | 2063 | 174 | return it; | 2064 | 2.13k | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2048 | 1.28k | { | 2049 | 1.28k | auto it = range.begin(); | 2050 | 1.28k | while (it != range.end()) { | 2051 | 1.28k | const auto val = | 2052 | 1.28k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 1.28k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 1.28k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 1.28k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 1.28k | if (pred(cp)) { | 2057 | 1.28k | return it; | 2058 | 1.28k | } | 2059 | 1.28k | } | 2060 | 0 | it = val.iterator; | 2061 | 0 | } | 2062 | | | 2063 | 0 | return it; | 2064 | 1.28k | } |
|
2065 | | |
2066 | | template <typename Range> |
2067 | | auto read_while_code_point(Range range, function_ref<bool(char32_t)> pred) |
2068 | | -> ranges::const_iterator_t<Range> |
2069 | 26.3k | { |
2070 | 26.3k | return read_until_code_point(range, std::not_fn(pred)); |
2071 | 26.3k | } Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2069 | 852 | { | 2070 | 852 | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 852 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2069 | 3.83k | { | 2070 | 3.83k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 3.83k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_while_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2069 | 4.35k | { | 2070 | 4.35k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 4.35k | } |
_ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2069 | 340 | { | 2070 | 340 | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 340 | } |
_ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2069 | 13.5k | { | 2070 | 13.5k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 13.5k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2069 | 2.13k | { | 2070 | 2.13k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 2.13k | } |
_ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2069 | 1.28k | { | 2070 | 1.28k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 1.28k | } |
|
2072 | | |
2073 | | template <typename Range> |
2074 | | auto read_until_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2075 | 7.10k | { |
2076 | | if constexpr (ranges::contiguous_range<Range> && |
2077 | | ranges::sized_range<Range> && |
2078 | 2.92k | std::is_same_v<detail::char_t<Range>, char>) { |
2079 | 2.92k | auto buf = make_contiguous_buffer(range); |
2080 | 2.92k | auto it = find_classic_space_narrow_fast(buf.view()); |
2081 | 2.92k | return ranges::next(range.begin(), |
2082 | 2.92k | ranges::distance(buf.view().begin(), it)); |
2083 | | } |
2084 | 4.18k | else { |
2085 | 4.18k | auto it = range.begin(); |
2086 | | |
2087 | 4.18k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2088 | 804 | auto seg = get_contiguous_beginning(range); |
2089 | 804 | if (auto seg_it = find_classic_space_narrow_fast(seg); |
2090 | 804 | seg_it != seg.end()) { |
2091 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2092 | 0 | } |
2093 | 804 | ranges::advance(it, seg.size()); |
2094 | 804 | } |
2095 | | |
2096 | 0 | return read_until_code_point( |
2097 | 4.18k | ranges::subrange{it, range.end()}, |
2098 | 85.2k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); });Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2098 | 10.5k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2098 | 15.0k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2098 | 59.5k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi |
2099 | 4.18k | } |
2100 | 7.10k | } Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2075 | 804 | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 804 | else { | 2085 | 804 | auto it = range.begin(); | 2086 | | | 2087 | 804 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | 804 | auto seg = get_contiguous_beginning(range); | 2089 | 804 | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | 804 | seg_it != seg.end()) { | 2091 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | 0 | } | 2093 | 804 | ranges::advance(it, seg.size()); | 2094 | 804 | } | 2095 | | | 2096 | 0 | return read_until_code_point( | 2097 | 804 | ranges::subrange{it, range.end()}, | 2098 | 804 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 804 | } | 2100 | 804 | } |
_ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2075 | 2.92k | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | 2.92k | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | 2.92k | auto buf = make_contiguous_buffer(range); | 2080 | 2.92k | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | 2.92k | return ranges::next(range.begin(), | 2082 | 2.92k | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | | else { | 2085 | | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | | return read_until_code_point( | 2097 | | ranges::subrange{it, range.end()}, | 2098 | | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | | } | 2100 | 2.92k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2075 | 486 | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 486 | else { | 2085 | 486 | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | 486 | return read_until_code_point( | 2097 | 486 | ranges::subrange{it, range.end()}, | 2098 | 486 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 486 | } | 2100 | 486 | } |
_ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2075 | 2.89k | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 2.89k | else { | 2085 | 2.89k | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | 2.89k | return read_until_code_point( | 2097 | 2.89k | ranges::subrange{it, range.end()}, | 2098 | 2.89k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 2.89k | } | 2100 | 2.89k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ |
2101 | | |
2102 | | template <typename Range> |
2103 | | auto read_while_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2104 | 45.8k | { |
2105 | | if constexpr (ranges::contiguous_range<Range> && |
2106 | | ranges::sized_range<Range> && |
2107 | 23.9k | std::is_same_v<detail::char_t<Range>, char>) { |
2108 | 23.9k | auto buf = make_contiguous_buffer(range); |
2109 | 23.9k | auto it = find_classic_nonspace_narrow_fast(buf.view()); |
2110 | 23.9k | return ranges::next(range.begin(), |
2111 | 23.9k | ranges::distance(buf.view().begin(), it)); |
2112 | | } |
2113 | 21.9k | else { |
2114 | 21.9k | auto it = range.begin(); |
2115 | | |
2116 | 21.9k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2117 | 2.67k | auto seg = get_contiguous_beginning(range); |
2118 | 2.67k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); |
2119 | 2.67k | seg_it != seg.end()) { |
2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2121 | 0 | } |
2122 | 2.67k | ranges::advance(it, seg.size()); |
2123 | 2.67k | } |
2124 | | |
2125 | 34.0k | return read_while_code_point(range, [](char32_t cp) noexcept { |
2126 | 34.0k | return detail::is_cp_space(cp); |
2127 | 34.0k | }); Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2125 | 1.72k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.72k | return detail::is_cp_space(cp); | 2127 | 1.72k | }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2125 | 7.80k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 7.80k | return detail::is_cp_space(cp); | 2127 | 7.80k | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2125 | 418 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 418 | return detail::is_cp_space(cp); | 2127 | 418 | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2125 | 19.5k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 19.5k | return detail::is_cp_space(cp); | 2127 | 19.5k | }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2125 | 3.20k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 3.20k | return detail::is_cp_space(cp); | 2127 | 3.20k | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2125 | 1.28k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.28k | return detail::is_cp_space(cp); | 2127 | 1.28k | }); |
|
2128 | 21.9k | } |
2129 | 45.8k | } Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2104 | 540 | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 540 | else { | 2114 | 540 | auto it = range.begin(); | 2115 | | | 2116 | 540 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | 540 | auto seg = get_contiguous_beginning(range); | 2118 | 540 | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | 540 | seg_it != seg.end()) { | 2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | 0 | } | 2122 | 540 | ranges::advance(it, seg.size()); | 2123 | 540 | } | 2124 | | | 2125 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 540 | return detail::is_cp_space(cp); | 2127 | 540 | }); | 2128 | 540 | } | 2129 | 540 | } |
_ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2104 | 15.5k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | 15.5k | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | 15.5k | auto buf = make_contiguous_buffer(range); | 2109 | 15.5k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | 15.5k | return ranges::next(range.begin(), | 2111 | 15.5k | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | | else { | 2114 | | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | | return detail::is_cp_space(cp); | 2127 | | }); | 2128 | | } | 2129 | 15.5k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2104 | 4.35k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 4.35k | else { | 2114 | 4.35k | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 4.35k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 4.35k | return detail::is_cp_space(cp); | 2127 | 4.35k | }); | 2128 | 4.35k | } | 2129 | 4.35k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2104 | 304 | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 304 | else { | 2114 | 304 | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 304 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 304 | return detail::is_cp_space(cp); | 2127 | 304 | }); | 2128 | 304 | } | 2129 | 304 | } |
_ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2104 | 13.3k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 13.3k | else { | 2114 | 13.3k | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 13.3k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 13.3k | return detail::is_cp_space(cp); | 2127 | 13.3k | }); | 2128 | 13.3k | } | 2129 | 13.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2104 | 8.34k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | 8.34k | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | 8.34k | auto buf = make_contiguous_buffer(range); | 2109 | 8.34k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | 8.34k | return ranges::next(range.begin(), | 2111 | 8.34k | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | | else { | 2114 | | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | | return detail::is_cp_space(cp); | 2127 | | }); | 2128 | | } | 2129 | 8.34k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2104 | 2.13k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 2.13k | else { | 2114 | 2.13k | auto it = range.begin(); | 2115 | | | 2116 | 2.13k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | 2.13k | auto seg = get_contiguous_beginning(range); | 2118 | 2.13k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | 2.13k | seg_it != seg.end()) { | 2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | 0 | } | 2122 | 2.13k | ranges::advance(it, seg.size()); | 2123 | 2.13k | } | 2124 | | | 2125 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 2.13k | return detail::is_cp_space(cp); | 2127 | 2.13k | }); | 2128 | 2.13k | } | 2129 | 2.13k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2104 | 1.28k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 1.28k | else { | 2114 | 1.28k | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 1.28k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.28k | return detail::is_cp_space(cp); | 2127 | 1.28k | }); | 2128 | 1.28k | } | 2129 | 1.28k | } |
|
2130 | | |
2131 | | template <typename Range> |
2132 | | auto read_matching_code_unit(Range range, detail::char_t<Range> ch) |
2133 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2134 | 5.13k | { |
2135 | 5.13k | auto it = read_code_unit(range); |
2136 | 5.13k | if (SCN_UNLIKELY(!it)) { |
2137 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2138 | 0 | } |
2139 | | |
2140 | 5.13k | if (SCN_UNLIKELY(*range.begin() != |
2141 | 5.13k | static_cast<detail::char_t<Range>>(ch))) { |
2142 | 5.13k | return unexpected(parse_error::error); |
2143 | 5.13k | } |
2144 | | |
2145 | 0 | return *it; |
2146 | 5.13k | } Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2134 | 34 | { | 2135 | 34 | auto it = read_code_unit(range); | 2136 | 34 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 34 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 34 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 34 | return unexpected(parse_error::error); | 2143 | 34 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 34 | } |
_ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2134 | 2.04k | { | 2135 | 2.04k | auto it = read_code_unit(range); | 2136 | 2.04k | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 2.04k | if (SCN_UNLIKELY(*range.begin() != | 2141 | 2.04k | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 2.04k | return unexpected(parse_error::error); | 2143 | 2.04k | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 2.04k | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2134 | 38 | { | 2135 | 38 | auto it = read_code_unit(range); | 2136 | 38 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 38 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 38 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 38 | return unexpected(parse_error::error); | 2143 | 38 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 38 | } |
_ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2134 | 2.02k | { | 2135 | 2.02k | auto it = read_code_unit(range); | 2136 | 2.02k | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 2.02k | if (SCN_UNLIKELY(*range.begin() != | 2141 | 2.02k | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 2.02k | return unexpected(parse_error::error); | 2143 | 2.02k | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 2.02k | } |
_ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2134 | 592 | { | 2135 | 592 | auto it = read_code_unit(range); | 2136 | 592 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 592 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 592 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 592 | return unexpected(parse_error::error); | 2143 | 592 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 592 | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2134 | 396 | { | 2135 | 396 | auto it = read_code_unit(range); | 2136 | 396 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 396 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 396 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 396 | return unexpected(parse_error::error); | 2143 | 396 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 396 | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE |
2147 | | |
2148 | | template <typename Range> |
2149 | | auto read_matching_code_point(Range range, char32_t cp) |
2150 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2151 | | { |
2152 | | auto val = read_code_point_into(range); |
2153 | | if (!val.is_valid()) { |
2154 | | return unexpected(parse_error::error); |
2155 | | } |
2156 | | auto decoded_cp = decode_code_point_exhaustive(val.codepoint); |
2157 | | if (SCN_UNLIKELY(cp != decoded_cp)) { |
2158 | | return unexpected(parse_error::error); |
2159 | | } |
2160 | | return val.iterator; |
2161 | | } |
2162 | | |
2163 | | template <typename Range> |
2164 | | auto read_matching_string(Range range, |
2165 | | std::basic_string_view<detail::char_t<Range>> str) |
2166 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2167 | 140 | { |
2168 | 140 | SCN_TRY(it, read_exactly_n_code_units( |
2169 | 104 | range, static_cast<std::ptrdiff_t>(str.size())) |
2170 | 104 | .transform_error(make_eof_parse_error)); |
2171 | | |
2172 | 104 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2173 | 104 | if (SCN_UNLIKELY(sv.view() != str)) { |
2174 | 104 | return unexpected(parse_error::error); |
2175 | 104 | } |
2176 | 0 | return it; |
2177 | 104 | } _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2167 | 24 | { | 2168 | 24 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 14 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 14 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 14 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 14 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 14 | return unexpected(parse_error::error); | 2175 | 14 | } | 2176 | 0 | return it; | 2177 | 14 | } |
_ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2167 | 44 | { | 2168 | 44 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 42 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 42 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 42 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 42 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 42 | return unexpected(parse_error::error); | 2175 | 42 | } | 2176 | 0 | return it; | 2177 | 42 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2167 | 32 | { | 2168 | 32 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 10 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 10 | return unexpected(parse_error::error); | 2175 | 10 | } | 2176 | 0 | return it; | 2177 | 10 | } |
_ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2167 | 40 | { | 2168 | 40 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 38 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 38 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 38 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 38 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 38 | return unexpected(parse_error::error); | 2175 | 38 | } | 2176 | 0 | return it; | 2177 | 38 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE |
2178 | | |
2179 | | template <typename Range> |
2180 | | auto read_matching_string_classic(Range range, std::string_view str) |
2181 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2182 | 5.10k | { |
2183 | 5.10k | SCN_TRY(it, read_exactly_n_code_units( |
2184 | 4.69k | range, static_cast<std::ptrdiff_t>(str.size())) |
2185 | 4.69k | .transform_error(make_eof_parse_error)); |
2186 | | |
2187 | 4.69k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2188 | 2.50k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2189 | 2.50k | if (SCN_UNLIKELY(sv.view() != str)) { |
2190 | 2.50k | return unexpected(parse_error::error); |
2191 | 2.50k | } |
2192 | 0 | return it; |
2193 | | } |
2194 | 2.18k | else { |
2195 | 2.18k | auto range_it = range.begin(); |
2196 | 2.18k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { |
2197 | 2.18k | if (SCN_UNLIKELY(*range_it != |
2198 | 2.18k | static_cast<detail::char_t<Range>>(str[i]))) { |
2199 | 2.18k | return unexpected(parse_error::error); |
2200 | 2.18k | } |
2201 | 2.18k | } |
2202 | 0 | return it; |
2203 | 2.18k | } |
2204 | 4.69k | } _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2182 | 2.06k | { | 2183 | 2.06k | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 1.96k | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 1.96k | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | 1.96k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | 1.96k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | 1.96k | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | 1.96k | return unexpected(parse_error::error); | 2191 | 1.96k | } | 2192 | 0 | return it; | 2193 | | } | 2194 | | else { | 2195 | | auto range_it = range.begin(); | 2196 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | | if (SCN_UNLIKELY(*range_it != | 2198 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | | return unexpected(parse_error::error); | 2200 | | } | 2201 | | } | 2202 | | return it; | 2203 | | } | 2204 | 1.96k | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2182 | 672 | { | 2183 | 672 | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 544 | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 544 | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | 544 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | 544 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | 544 | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | 544 | return unexpected(parse_error::error); | 2191 | 544 | } | 2192 | 0 | return it; | 2193 | | } | 2194 | | else { | 2195 | | auto range_it = range.begin(); | 2196 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | | if (SCN_UNLIKELY(*range_it != | 2198 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | | return unexpected(parse_error::error); | 2200 | | } | 2201 | | } | 2202 | | return it; | 2203 | | } | 2204 | 544 | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2182 | 2.00k | { | 2183 | 2.00k | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 1.87k | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 1.87k | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | | return unexpected(parse_error::error); | 2191 | | } | 2192 | | return it; | 2193 | | } | 2194 | 1.87k | else { | 2195 | 1.87k | auto range_it = range.begin(); | 2196 | 1.87k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | 1.87k | if (SCN_UNLIKELY(*range_it != | 2198 | 1.87k | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | 1.87k | return unexpected(parse_error::error); | 2200 | 1.87k | } | 2201 | 1.87k | } | 2202 | 0 | return it; | 2203 | 1.87k | } | 2204 | 1.87k | } |
_ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2182 | 364 | { | 2183 | 364 | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 316 | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 316 | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | | return unexpected(parse_error::error); | 2191 | | } | 2192 | | return it; | 2193 | | } | 2194 | 316 | else { | 2195 | 316 | auto range_it = range.begin(); | 2196 | 316 | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | 316 | if (SCN_UNLIKELY(*range_it != | 2198 | 316 | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | 316 | return unexpected(parse_error::error); | 2200 | 316 | } | 2201 | 316 | } | 2202 | 0 | return it; | 2203 | 316 | } | 2204 | 316 | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE |
2205 | | |
2206 | | // Ripped from fast_float |
2207 | | constexpr bool fast_streq_nocase(const char* a, const char* b, size_t len) |
2208 | 3.86k | { |
2209 | 3.86k | unsigned char running_diff{0}; |
2210 | 13.4k | for (size_t i = 0; i < len; ++i) { |
2211 | 9.61k | running_diff |= static_cast<unsigned char>(a[i] ^ b[i]); |
2212 | 9.61k | } |
2213 | 3.86k | return running_diff == 0 || running_diff == 32; |
2214 | 3.86k | } |
2215 | | |
2216 | | template <typename Range> |
2217 | | auto read_matching_string_classic_nocase(Range range, std::string_view str) |
2218 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2219 | 9.89k | { |
2220 | 9.89k | using char_type = detail::char_t<Range>; |
2221 | | |
2222 | | if constexpr (ranges::contiguous_range<Range> && |
2223 | 3.87k | std::is_same_v<char_type, char>) { |
2224 | 3.87k | if (range.size() < str.size()) { |
2225 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); |
2226 | 8 | } |
2227 | 3.86k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { |
2228 | 3.86k | return unexpected(parse_error::error); |
2229 | 3.86k | } |
2230 | 0 | return ranges::next(range.begin(), str.size()); |
2231 | | } |
2232 | 6.02k | else { |
2233 | 6.02k | auto ascii_tolower = [](char_type ch) -> char_type { |
2234 | 5.74k | if (ch < 'A' || ch > 'Z') { |
2235 | 5.74k | return ch; |
2236 | 5.74k | } |
2237 | 0 | return static_cast<char_type>(ch + |
2238 | 0 | static_cast<char_type>('a' - 'A')); |
2239 | 5.74k | }; Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlcE_clEc _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlcE_clEc Line | Count | Source | 2233 | 1.05k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 1.05k | if (ch < 'A' || ch > 'Z') { | 2235 | 1.05k | return ch; | 2236 | 1.05k | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 1.05k | }; |
Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlwE_clEw _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2233 | 704 | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 704 | if (ch < 'A' || ch > 'Z') { | 2235 | 704 | return ch; | 2236 | 704 | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 704 | }; |
_ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2233 | 3.99k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 3.99k | if (ch < 'A' || ch > 'Z') { | 2235 | 3.99k | return ch; | 2236 | 3.99k | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 3.99k | }; |
|
2240 | | |
2241 | 6.02k | SCN_TRY(it, read_exactly_n_code_units( |
2242 | 5.74k | range, static_cast<std::ptrdiff_t>(str.size())) |
2243 | 5.74k | .transform_error(make_eof_parse_error)); |
2244 | | |
2245 | 5.74k | if (SCN_UNLIKELY(!std::equal( |
2246 | 5.74k | range.begin(), it, str.begin(), [&](auto a, auto b) { |
2247 | 5.74k | return ascii_tolower(a) == |
2248 | 5.74k | static_cast<detail::char_t<Range>>(b); |
2249 | 5.74k | }))) { |
2250 | 5.74k | return unexpected(parse_error::error); |
2251 | 5.74k | } |
2252 | | |
2253 | 0 | return it; |
2254 | 5.74k | } |
2255 | 9.89k | } Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2219 | 1.23k | { | 2220 | 1.23k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 1.23k | else { | 2233 | 1.23k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 1.23k | if (ch < 'A' || ch > 'Z') { | 2235 | 1.23k | return ch; | 2236 | 1.23k | } | 2237 | 1.23k | return static_cast<char_type>(ch + | 2238 | 1.23k | static_cast<char_type>('a' - 'A')); | 2239 | 1.23k | }; | 2240 | | | 2241 | 1.23k | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 1.05k | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 1.05k | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 1.05k | if (SCN_UNLIKELY(!std::equal( | 2246 | 1.05k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 1.05k | return ascii_tolower(a) == | 2248 | 1.05k | static_cast<detail::char_t<Range>>(b); | 2249 | 1.05k | }))) { | 2250 | 1.05k | return unexpected(parse_error::error); | 2251 | 1.05k | } | 2252 | | | 2253 | 0 | return it; | 2254 | 1.05k | } | 2255 | 1.23k | } |
_ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2219 | 3.87k | { | 2220 | 3.87k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | 3.87k | std::is_same_v<char_type, char>) { | 2224 | 3.87k | if (range.size() < str.size()) { | 2225 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | 8 | } | 2227 | 3.86k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | 3.86k | return unexpected(parse_error::error); | 2229 | 3.86k | } | 2230 | 0 | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | | else { | 2233 | | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | | if (ch < 'A' || ch > 'Z') { | 2235 | | return ch; | 2236 | | } | 2237 | | return static_cast<char_type>(ch + | 2238 | | static_cast<char_type>('a' - 'A')); | 2239 | | }; | 2240 | | | 2241 | | SCN_TRY(it, read_exactly_n_code_units( | 2242 | | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | | if (SCN_UNLIKELY(!std::equal( | 2246 | | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | | return ascii_tolower(a) == | 2248 | | static_cast<detail::char_t<Range>>(b); | 2249 | | }))) { | 2250 | | return unexpected(parse_error::error); | 2251 | | } | 2252 | | | 2253 | | return it; | 2254 | | } | 2255 | 3.87k | } |
Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2219 | 796 | { | 2220 | 796 | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 796 | else { | 2233 | 796 | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 796 | if (ch < 'A' || ch > 'Z') { | 2235 | 796 | return ch; | 2236 | 796 | } | 2237 | 796 | return static_cast<char_type>(ch + | 2238 | 796 | static_cast<char_type>('a' - 'A')); | 2239 | 796 | }; | 2240 | | | 2241 | 796 | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 704 | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 704 | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 704 | if (SCN_UNLIKELY(!std::equal( | 2246 | 704 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 704 | return ascii_tolower(a) == | 2248 | 704 | static_cast<detail::char_t<Range>>(b); | 2249 | 704 | }))) { | 2250 | 704 | return unexpected(parse_error::error); | 2251 | 704 | } | 2252 | | | 2253 | 0 | return it; | 2254 | 704 | } | 2255 | 796 | } |
_ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2219 | 3.99k | { | 2220 | 3.99k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 3.99k | else { | 2233 | 3.99k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 3.99k | if (ch < 'A' || ch > 'Z') { | 2235 | 3.99k | return ch; | 2236 | 3.99k | } | 2237 | 3.99k | return static_cast<char_type>(ch + | 2238 | 3.99k | static_cast<char_type>('a' - 'A')); | 2239 | 3.99k | }; | 2240 | | | 2241 | 3.99k | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 3.99k | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 3.99k | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 3.99k | if (SCN_UNLIKELY(!std::equal( | 2246 | 3.99k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 3.99k | return ascii_tolower(a) == | 2248 | 3.99k | static_cast<detail::char_t<Range>>(b); | 2249 | 3.99k | }))) { | 2250 | 3.99k | return unexpected(parse_error::error); | 2251 | 3.99k | } | 2252 | | | 2253 | 0 | return it; | 2254 | 3.99k | } | 2255 | 3.99k | } |
|
2256 | | |
2257 | | template <typename Range> |
2258 | | auto read_one_of_code_unit(Range range, std::string_view str) |
2259 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2260 | 9.71k | { |
2261 | 9.71k | auto it = read_code_unit(range); |
2262 | 9.71k | if (SCN_UNLIKELY(!it)) { |
2263 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2264 | 0 | } |
2265 | | |
2266 | 19.4k | for (auto ch : str) { |
2267 | 19.4k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { |
2268 | 0 | return *it; |
2269 | 0 | } |
2270 | 19.4k | } |
2271 | | |
2272 | 9.71k | return unexpected(parse_error::error); |
2273 | 9.71k | } Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2260 | 1.18k | { | 2261 | 1.18k | auto it = read_code_unit(range); | 2262 | 1.18k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 2.36k | for (auto ch : str) { | 2267 | 2.36k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 2.36k | } | 2271 | | | 2272 | 1.18k | return unexpected(parse_error::error); | 2273 | 1.18k | } |
_ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2260 | 3.81k | { | 2261 | 3.81k | auto it = read_code_unit(range); | 2262 | 3.81k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 7.63k | for (auto ch : str) { | 2267 | 7.63k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 7.63k | } | 2271 | | | 2272 | 3.81k | return unexpected(parse_error::error); | 2273 | 3.81k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2260 | 758 | { | 2261 | 758 | auto it = read_code_unit(range); | 2262 | 758 | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 1.51k | for (auto ch : str) { | 2267 | 1.51k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 1.51k | } | 2271 | | | 2272 | 758 | return unexpected(parse_error::error); | 2273 | 758 | } |
_ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2260 | 3.95k | { | 2261 | 3.95k | auto it = read_code_unit(range); | 2262 | 3.95k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 7.91k | for (auto ch : str) { | 2267 | 7.91k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 7.91k | } | 2271 | | | 2272 | 3.95k | return unexpected(parse_error::error); | 2273 | 3.95k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE |
2274 | | |
2275 | | template <typename Range, template <class> class Expected, typename Iterator> |
2276 | | auto apply_opt(Expected<Iterator>&& result, Range range) |
2277 | | -> std::enable_if_t<detail::is_expected<Expected<Iterator>>::value, |
2278 | | ranges::const_iterator_t<Range>> |
2279 | 2.51k | { |
2280 | 2.51k | if (!result) { |
2281 | 2.51k | return range.begin(); |
2282 | 2.51k | } |
2283 | 0 | return *result; |
2284 | 2.51k | } Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2279 | 314 | { | 2280 | 314 | if (!result) { | 2281 | 314 | return range.begin(); | 2282 | 314 | } | 2283 | 0 | return *result; | 2284 | 314 | } |
_ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2279 | 1.01k | { | 2280 | 1.01k | if (!result) { | 2281 | 1.01k | return range.begin(); | 2282 | 1.01k | } | 2283 | 0 | return *result; | 2284 | 1.01k | } |
Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2279 | 192 | { | 2280 | 192 | if (!result) { | 2281 | 192 | return range.begin(); | 2282 | 192 | } | 2283 | 0 | return *result; | 2284 | 192 | } |
_ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2279 | 998 | { | 2280 | 998 | if (!result) { | 2281 | 998 | return range.begin(); | 2282 | 998 | } | 2283 | 0 | return *result; | 2284 | 998 | } |
|
2285 | | |
2286 | | ///////////////////////////////////////////////////////////////// |
2287 | | // Text width calculation |
2288 | | ///////////////////////////////////////////////////////////////// |
2289 | | |
2290 | | constexpr std::size_t calculate_text_width_for_fmt_v10(char32_t cp) |
2291 | 175k | { |
2292 | 175k | if (cp >= 0x1100 && |
2293 | 175k | (cp <= 0x115f || // Hangul Jamo init. consonants |
2294 | 32.2k | cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET |
2295 | 32.2k | cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET |
2296 | | // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: |
2297 | 32.2k | (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || |
2298 | 32.2k | (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables |
2299 | 32.2k | (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs |
2300 | 32.2k | (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms |
2301 | 32.2k | (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms |
2302 | 32.2k | (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms |
2303 | 32.2k | (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms |
2304 | 32.2k | (cp >= 0x20000 && cp <= 0x2fffd) || // CJK |
2305 | 32.2k | (cp >= 0x30000 && cp <= 0x3fffd) || |
2306 | | // Miscellaneous Symbols and Pictographs + Emoticons: |
2307 | 32.2k | (cp >= 0x1f300 && cp <= 0x1f64f) || |
2308 | | // Supplemental Symbols and Pictographs: |
2309 | 32.2k | (cp >= 0x1f900 && cp <= 0x1f9ff))) { |
2310 | 4.30k | return 2; |
2311 | 4.30k | } |
2312 | 171k | return 1; |
2313 | 175k | } |
2314 | | |
2315 | | constexpr std::size_t calculate_valid_text_width(char32_t cp) |
2316 | 96.7k | { |
2317 | 96.7k | return calculate_text_width_for_fmt_v10(cp); |
2318 | 96.7k | } |
2319 | | |
2320 | | template <typename CharT> |
2321 | | std::size_t calculate_valid_text_width(std::basic_string_view<CharT> input) |
2322 | | { |
2323 | | size_t count{0}; |
2324 | | for_each_code_point_valid(input, [&count](char32_t cp) { |
2325 | | count += calculate_text_width_for_fmt_v10(cp); |
2326 | | }); |
2327 | | return count; |
2328 | | } |
2329 | | |
2330 | | constexpr std::size_t calculate_text_width(char32_t cp) |
2331 | 322 | { |
2332 | 322 | return calculate_text_width_for_fmt_v10(cp); |
2333 | 322 | } |
2334 | | |
2335 | | template <typename CharT> |
2336 | | std::size_t calculate_text_width(std::basic_string_view<CharT> input) |
2337 | 35.4k | { |
2338 | 35.4k | size_t count{0}; |
2339 | 78.3k | for_each_code_point(input, [&count](char32_t cp) { |
2340 | 78.3k | count += calculate_text_width_for_fmt_v10(cp); |
2341 | 78.3k | }); scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2339 | 70.0k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 70.0k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 70.0k | }); |
scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2339 | 8.27k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 8.27k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 8.27k | }); |
|
2342 | 35.4k | return count; |
2343 | 35.4k | } unsigned long scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 2337 | 29.7k | { | 2338 | 29.7k | size_t count{0}; | 2339 | 29.7k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 29.7k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 29.7k | }); | 2342 | 29.7k | return count; | 2343 | 29.7k | } |
unsigned long scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 2337 | 5.65k | { | 2338 | 5.65k | size_t count{0}; | 2339 | 5.65k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 5.65k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 5.65k | }); | 2342 | 5.65k | return count; | 2343 | 5.65k | } |
|
2344 | | |
2345 | | namespace counted_width_iterator_impl { |
2346 | | template <typename It, typename S> |
2347 | | class counted_width_iterator { |
2348 | | static_assert(ranges::forward_iterator<It>); |
2349 | | static_assert(ranges::sentinel_for<S, It>); |
2350 | | |
2351 | | template <typename OtherIt, typename OtherS> |
2352 | | friend class counted_width_iterator; |
2353 | | |
2354 | | public: |
2355 | | using iterator = It; |
2356 | | using sentinel = S; |
2357 | | using value_type = ranges::iter_value_t<It>; |
2358 | | using pointer = value_type*; |
2359 | | using reference = value_type&; |
2360 | | using difference_type = ranges::iter_difference_t<It>; |
2361 | | using iterator_category = |
2362 | | std::conditional_t<ranges::bidirectional_iterator<It>, |
2363 | | std::bidirectional_iterator_tag, |
2364 | | std::forward_iterator_tag>; |
2365 | | |
2366 | | constexpr counted_width_iterator() = default; |
2367 | | |
2368 | | constexpr counted_width_iterator(iterator x, sentinel s, difference_type n) |
2369 | 43.4k | : m_current(x), m_end(s), m_count(n) |
2370 | 43.4k | { |
2371 | 43.4k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::counted_width_iterator(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::counted_width_iterator(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, long) scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, long) Line | Count | Source | 2369 | 5.07k | : m_current(x), m_end(s), m_count(n) | 2370 | 5.07k | { | 2371 | 5.07k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, long) Line | Count | Source | 2369 | 2.80k | : m_current(x), m_end(s), m_count(n) | 2370 | 2.80k | { | 2371 | 2.80k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::counted_width_iterator(char const*, char const*, long) Line | Count | Source | 2369 | 23.3k | : m_current(x), m_end(s), m_count(n) | 2370 | 23.3k | { | 2371 | 23.3k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::counted_width_iterator(wchar_t const*, wchar_t const*, long) Line | Count | Source | 2369 | 12.2k | : m_current(x), m_end(s), m_count(n) | 2370 | 12.2k | { | 2371 | 12.2k | } |
|
2372 | | |
2373 | | template <typename OtherIt, |
2374 | | typename OtherS, |
2375 | | std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2376 | | std::is_convertible_v<OtherS, S>>* = nullptr> |
2377 | | constexpr counted_width_iterator( |
2378 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2379 | | : m_current(other.m_current), |
2380 | | m_end(other.m_end), |
2381 | | m_count(other.m_count), |
2382 | | m_multibyte_left(other.m_multibyte_left) |
2383 | | { |
2384 | | } |
2385 | | |
2386 | | template <typename OtherIt, typename OtherS> |
2387 | | constexpr auto operator=( |
2388 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2389 | | -> std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2390 | | std::is_convertible_v<OtherS, S>, |
2391 | | counted_width_iterator&> |
2392 | | { |
2393 | | m_current = other.m_current; |
2394 | | m_end = other.m_end; |
2395 | | m_count = other.m_count; |
2396 | | m_multibyte_left = other.m_multibyte_left; |
2397 | | return *this; |
2398 | | } |
2399 | | |
2400 | | constexpr It base() const |
2401 | 255k | { |
2402 | 255k | return m_current; |
2403 | 255k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::base() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::base() const Line | Count | Source | 2401 | 182k | { | 2402 | 182k | return m_current; | 2403 | 182k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::base() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::base() const Line | Count | Source | 2401 | 52.3k | { | 2402 | 52.3k | return m_current; | 2403 | 52.3k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::base() const Line | Count | Source | 2401 | 15.0k | { | 2402 | 15.0k | return m_current; | 2403 | 15.0k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::base() const Line | Count | Source | 2401 | 5.65k | { | 2402 | 5.65k | return m_current; | 2403 | 5.65k | } |
|
2404 | | constexpr difference_type count() const |
2405 | 247k | { |
2406 | 247k | return m_count; |
2407 | 247k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::count() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::count() const Line | Count | Source | 2405 | 176k | { | 2406 | 176k | return m_count; | 2407 | 176k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::count() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::count() const Line | Count | Source | 2405 | 50.1k | { | 2406 | 50.1k | return m_count; | 2407 | 50.1k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::count() const Line | Count | Source | 2405 | 15.4k | { | 2406 | 15.4k | return m_count; | 2407 | 15.4k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::count() const Line | Count | Source | 2405 | 5.69k | { | 2406 | 5.69k | return m_count; | 2407 | 5.69k | } |
|
2408 | | constexpr difference_type multibyte_left() const |
2409 | 4.82k | { |
2410 | 4.82k | return m_multibyte_left; |
2411 | 4.82k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::multibyte_left() const Line | Count | Source | 2409 | 3.57k | { | 2410 | 3.57k | return m_multibyte_left; | 2411 | 3.57k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::multibyte_left() const Line | Count | Source | 2409 | 428 | { | 2410 | 428 | return m_multibyte_left; | 2411 | 428 | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2409 | 784 | { | 2410 | 784 | return m_multibyte_left; | 2411 | 784 | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2409 | 34 | { | 2410 | 34 | return m_multibyte_left; | 2411 | 34 | } |
|
2412 | | |
2413 | | constexpr decltype(auto) operator*() |
2414 | 248k | { |
2415 | 248k | return *m_current; |
2416 | 248k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() Line | Count | Source | 2414 | 183k | { | 2415 | 183k | return *m_current; | 2416 | 183k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() Line | Count | Source | 2414 | 53.9k | { | 2415 | 53.9k | return *m_current; | 2416 | 53.9k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator*() Line | Count | Source | 2414 | 8.71k | { | 2415 | 8.71k | return *m_current; | 2416 | 8.71k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator*() Line | Count | Source | 2414 | 2.85k | { | 2415 | 2.85k | return *m_current; | 2416 | 2.85k | } |
|
2417 | | constexpr decltype(auto) operator*() const |
2418 | 11.4k | { |
2419 | 11.4k | return *m_current; |
2420 | 11.4k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() const Line | Count | Source | 2418 | 8.70k | { | 2419 | 8.70k | return *m_current; | 2420 | 8.70k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() const Line | Count | Source | 2418 | 2.73k | { | 2419 | 2.73k | return *m_current; | 2420 | 2.73k | } |
|
2421 | | |
2422 | | constexpr counted_width_iterator& operator++() |
2423 | 221k | { |
2424 | 221k | SCN_EXPECT(m_current != m_end); |
2425 | 221k | _increment_current(); |
2426 | 221k | return *this; |
2427 | 221k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator++() Line | Count | Source | 2423 | 173k | { | 2424 | 173k | SCN_EXPECT(m_current != m_end); | 2425 | 173k | _increment_current(); | 2426 | 173k | return *this; | 2427 | 173k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator++() Line | Count | Source | 2423 | 36.7k | { | 2424 | 36.7k | SCN_EXPECT(m_current != m_end); | 2425 | 36.7k | _increment_current(); | 2426 | 36.7k | return *this; | 2427 | 36.7k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator++() Line | Count | Source | 2423 | 9.79k | { | 2424 | 9.79k | SCN_EXPECT(m_current != m_end); | 2425 | 9.79k | _increment_current(); | 2426 | 9.79k | return *this; | 2427 | 9.79k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator++() Line | Count | Source | 2423 | 1.36k | { | 2424 | 1.36k | SCN_EXPECT(m_current != m_end); | 2425 | 1.36k | _increment_current(); | 2426 | 1.36k | return *this; | 2427 | 1.36k | } |
|
2428 | | |
2429 | | constexpr counted_width_iterator operator++(int) |
2430 | | { |
2431 | | auto tmp = *this; |
2432 | | ++*this; |
2433 | | return tmp; |
2434 | | } |
2435 | | |
2436 | | template <typename Iter = It> |
2437 | | constexpr auto operator--() |
2438 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2439 | | counted_width_iterator&> |
2440 | 0 | { |
2441 | 0 | _decrement_current(); |
2442 | 0 | return *this; |
2443 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorIPKcS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorIPKwS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv |
2444 | | |
2445 | | template <typename Iter = It> |
2446 | | constexpr auto operator--(int) |
2447 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2448 | | counted_width_iterator> |
2449 | | { |
2450 | | auto tmp = *this; |
2451 | | --*this; |
2452 | | return tmp; |
2453 | | } |
2454 | | |
2455 | | // TODO: optimize, make better than forward, if possible |
2456 | | #if 0 |
2457 | | template <typename Iter = It> |
2458 | | constexpr auto operator+(difference_type n) -> std::enable_if_t< |
2459 | | ranges_std::random_access_iterator<Iter>, |
2460 | | counted_width_iterator> |
2461 | | { |
2462 | | // TODO |
2463 | | return counted_width_iterator(m_current + n, m_count - n); |
2464 | | } |
2465 | | |
2466 | | template <typename Iter = It, |
2467 | | std::enable_if_t<ranges_std::random_access_iterator< |
2468 | | Iter>>* = nullptr> |
2469 | | friend constexpr counted_width_iterator operator+( |
2470 | | ranges_std::iter_difference_t<Iter> n, |
2471 | | const counted_width_iterator<Iter>& x) |
2472 | | { |
2473 | | return x + n; |
2474 | | } |
2475 | | |
2476 | | template <typename Iter = It> |
2477 | | constexpr auto operator+=(difference_type n) |
2478 | | -> std::enable_if_t< |
2479 | | ranges_std::random_access_iterator<Iter>, |
2480 | | counted_width_iterator&> |
2481 | | { |
2482 | | // TODO |
2483 | | m_current += n; |
2484 | | m_count -= n; |
2485 | | return *this; |
2486 | | } |
2487 | | |
2488 | | template <typename Iter = It> |
2489 | | constexpr auto operator-(difference_type n) -> std::enable_if_t< |
2490 | | ranges_std::random_access_iterator<Iter>, |
2491 | | counted_width_iterator> |
2492 | | { |
2493 | | // TODO |
2494 | | return counted_width_iterator(m_current - n, m_count + n); |
2495 | | } |
2496 | | |
2497 | | template <typename Iter = It, |
2498 | | std::enable_if_t<ranges_std::random_access_iterator< |
2499 | | Iter>>* = nullptr> |
2500 | | constexpr decltype(auto) operator[](difference_type n) const |
2501 | | { |
2502 | | return m_current[n]; |
2503 | | } |
2504 | | #endif |
2505 | | |
2506 | | template <typename OtherIt, typename OtherS> |
2507 | | friend constexpr auto operator==( |
2508 | | const counted_width_iterator& a, |
2509 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2510 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2511 | 125k | { |
2512 | 125k | return a.m_current == b.m_current; |
2513 | 125k | } Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v3::impl::counted_width_iterator_impl::operator==<char const*, char const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 105k | { | 2512 | 105k | return a.m_current == b.m_current; | 2513 | 105k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v3::impl::counted_width_iterator_impl::operator==<wchar_t const*, wchar_t const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 14.2k | { | 2512 | 14.2k | return a.m_current == b.m_current; | 2513 | 14.2k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 5.83k | { | 2512 | 5.83k | return a.m_current == b.m_current; | 2513 | 5.83k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2514 | | template <typename OtherIt, typename OtherS> |
2515 | | friend constexpr auto operator!=( |
2516 | | const counted_width_iterator& a, |
2517 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2518 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2519 | 116k | { |
2520 | 116k | return !(a == b); |
2521 | 116k | } Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<char const*, char const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 97.6k | { | 2520 | 97.6k | return !(a == b); | 2521 | 97.6k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<wchar_t const*, wchar_t const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 13.2k | { | 2520 | 13.2k | return !(a == b); | 2521 | 13.2k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 5.83k | { | 2520 | 5.83k | return !(a == b); | 2521 | 5.83k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2522 | | |
2523 | | friend constexpr bool operator==(const counted_width_iterator& x, |
2524 | | ranges::default_sentinel_t) |
2525 | | { |
2526 | | return x.count() == 0 && x.multibyte_left() == 0; |
2527 | | } |
2528 | | friend constexpr bool operator==(ranges::default_sentinel_t, |
2529 | | const counted_width_iterator& x) |
2530 | | { |
2531 | | return x.count() == 0 && x.multibyte_left() == 0; |
2532 | | } |
2533 | | |
2534 | | friend constexpr bool operator!=(const counted_width_iterator& a, |
2535 | | ranges::default_sentinel_t b) |
2536 | | { |
2537 | | return !(a == b); |
2538 | | } |
2539 | | friend constexpr bool operator!=(ranges::default_sentinel_t a, |
2540 | | const counted_width_iterator& b) |
2541 | | { |
2542 | | return !(a == b); |
2543 | | } |
2544 | | |
2545 | | template <typename OtherIt, typename OtherS> |
2546 | | friend constexpr auto operator<( |
2547 | | const counted_width_iterator& a, |
2548 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2549 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2550 | | { |
2551 | | if (a.count() == b.count()) { |
2552 | | return a.multibyte_left() > b.multibyte_left(); |
2553 | | } |
2554 | | |
2555 | | return a.count() > b.count(); |
2556 | | } |
2557 | | |
2558 | | template <typename OtherIt, typename OtherS> |
2559 | | friend constexpr auto operator>( |
2560 | | const counted_width_iterator& a, |
2561 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2562 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2563 | | { |
2564 | | return !(b < a); |
2565 | | } |
2566 | | |
2567 | | template <typename OtherIt, typename OtherS> |
2568 | | friend constexpr auto operator<=( |
2569 | | const counted_width_iterator& a, |
2570 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2571 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2572 | | { |
2573 | | return !(b < a); |
2574 | | } |
2575 | | |
2576 | | template <typename OtherIt, typename OtherS> |
2577 | | friend constexpr auto operator>=( |
2578 | | const counted_width_iterator& a, |
2579 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2580 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2581 | | { |
2582 | | return !(a < b); |
2583 | | } |
2584 | | |
2585 | | #if 0 |
2586 | | template <typename OtherIt, typename OtherS> |
2587 | | friend constexpr auto operator-( |
2588 | | const counted_width_iterator& a, |
2589 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2590 | | -> std::enable_if_t<ranges_std::common_with<OtherIt, It>, |
2591 | | ranges_std::iter_difference_t<OtherIt>> |
2592 | | { |
2593 | | // TODO |
2594 | | } |
2595 | | |
2596 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2597 | | const counted_width_iterator& x, |
2598 | | ranges_std::default_sentinel_t) |
2599 | | { |
2600 | | // TODO |
2601 | | } |
2602 | | |
2603 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2604 | | ranges_std::default_sentinel_t, |
2605 | | const counted_width_iterator& x) |
2606 | | { |
2607 | | // TODO |
2608 | | } |
2609 | | #endif |
2610 | | |
2611 | | #if 0 |
2612 | | template <typename Iter = It> |
2613 | | constexpr auto operator-=(difference_type n) |
2614 | | -> std::enable_if_t< |
2615 | | ranges_std::random_access_iterator<Iter>, |
2616 | | counted_width_iterator&> |
2617 | | { |
2618 | | // TODO |
2619 | | m_current -= n; |
2620 | | m_count += n; |
2621 | | return *this; |
2622 | | } |
2623 | | #endif |
2624 | | |
2625 | | private: |
2626 | | difference_type _get_cp_length_at_current() const |
2627 | 125k | { |
2628 | 125k | return static_cast<difference_type>( |
2629 | 125k | detail::code_point_length_by_starting_code_unit(*m_current)); |
2630 | 125k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_cp_length_at_current() const Line | Count | Source | 2627 | 81.5k | { | 2628 | 81.5k | return static_cast<difference_type>( | 2629 | 81.5k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 81.5k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_cp_length_at_current() const Line | Count | Source | 2627 | 36.7k | { | 2628 | 36.7k | return static_cast<difference_type>( | 2629 | 36.7k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 36.7k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2627 | 5.52k | { | 2628 | 5.52k | return static_cast<difference_type>( | 2629 | 5.52k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 5.52k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2627 | 1.36k | { | 2628 | 1.36k | return static_cast<difference_type>( | 2629 | 1.36k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 1.36k | } |
|
2631 | | |
2632 | | difference_type _get_width_at_current_cp_start(difference_type cplen) const |
2633 | 125k | { |
2634 | 125k | if (SCN_UNLIKELY(cplen == 0)) { |
2635 | 764 | return 0; |
2636 | 764 | } |
2637 | | |
2638 | 124k | if (cplen == 1) { |
2639 | 96.7k | SCN_EXPECT(m_current != m_end); |
2640 | 96.7k | auto cp = static_cast<char32_t>(*m_current); |
2641 | 96.7k | return static_cast<difference_type>(calculate_valid_text_width(cp)); |
2642 | 96.7k | } |
2643 | | |
2644 | 27.7k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, |
2645 | 27.7k | cplen); |
2646 | 27.7k | if (SCN_UNLIKELY(!r)) { |
2647 | 332 | return 0; |
2648 | 332 | } |
2649 | | |
2650 | 27.4k | auto cp_str = std::basic_string<value_type>{m_current, *r}; |
2651 | 27.4k | return static_cast<difference_type>( |
2652 | 27.4k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); |
2653 | 27.7k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 81.5k | { | 2634 | 81.5k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 764 | return 0; | 2636 | 764 | } | 2637 | | | 2638 | 80.8k | if (cplen == 1) { | 2639 | 55.4k | SCN_EXPECT(m_current != m_end); | 2640 | 55.4k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 55.4k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 55.4k | } | 2643 | | | 2644 | 25.4k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 25.4k | cplen); | 2646 | 25.4k | if (SCN_UNLIKELY(!r)) { | 2647 | 332 | return 0; | 2648 | 332 | } | 2649 | | | 2650 | 25.0k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 25.0k | return static_cast<difference_type>( | 2652 | 25.0k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 25.4k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 36.7k | { | 2634 | 36.7k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 36.7k | if (cplen == 1) { | 2639 | 36.7k | SCN_EXPECT(m_current != m_end); | 2640 | 36.7k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 36.7k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 36.7k | } | 2643 | | | 2644 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 0 | cplen); | 2646 | 0 | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 0 | return static_cast<difference_type>( | 2652 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 0 | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 5.52k | { | 2634 | 5.52k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 5.52k | if (cplen == 1) { | 2639 | 3.18k | SCN_EXPECT(m_current != m_end); | 2640 | 3.18k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 3.18k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 3.18k | } | 2643 | | | 2644 | 2.33k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 2.33k | cplen); | 2646 | 2.33k | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 2.33k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 2.33k | return static_cast<difference_type>( | 2652 | 2.33k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 2.33k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 1.36k | { | 2634 | 1.36k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 1.36k | if (cplen == 1) { | 2639 | 1.36k | SCN_EXPECT(m_current != m_end); | 2640 | 1.36k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 1.36k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 1.36k | } | 2643 | | | 2644 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 0 | cplen); | 2646 | 0 | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 0 | return static_cast<difference_type>( | 2652 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 0 | } |
|
2654 | | |
2655 | | void _increment_current() |
2656 | 221k | { |
2657 | 221k | if (m_multibyte_left == 0) { |
2658 | 125k | auto cplen = _get_cp_length_at_current(); |
2659 | 125k | m_multibyte_left = cplen - 1; |
2660 | 125k | m_count -= _get_width_at_current_cp_start(cplen); |
2661 | 125k | } |
2662 | 96.2k | else { |
2663 | 96.2k | --m_multibyte_left; |
2664 | 96.2k | } |
2665 | | |
2666 | 221k | ++m_current; |
2667 | 221k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_increment_current() Line | Count | Source | 2656 | 173k | { | 2657 | 173k | if (m_multibyte_left == 0) { | 2658 | 81.5k | auto cplen = _get_cp_length_at_current(); | 2659 | 81.5k | m_multibyte_left = cplen - 1; | 2660 | 81.5k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 81.5k | } | 2662 | 91.9k | else { | 2663 | 91.9k | --m_multibyte_left; | 2664 | 91.9k | } | 2665 | | | 2666 | 173k | ++m_current; | 2667 | 173k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_increment_current() Line | Count | Source | 2656 | 36.7k | { | 2657 | 36.7k | if (m_multibyte_left == 0) { | 2658 | 36.7k | auto cplen = _get_cp_length_at_current(); | 2659 | 36.7k | m_multibyte_left = cplen - 1; | 2660 | 36.7k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 36.7k | } | 2662 | 0 | else { | 2663 | 0 | --m_multibyte_left; | 2664 | 0 | } | 2665 | | | 2666 | 36.7k | ++m_current; | 2667 | 36.7k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2656 | 9.79k | { | 2657 | 9.79k | if (m_multibyte_left == 0) { | 2658 | 5.52k | auto cplen = _get_cp_length_at_current(); | 2659 | 5.52k | m_multibyte_left = cplen - 1; | 2660 | 5.52k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 5.52k | } | 2662 | 4.27k | else { | 2663 | 4.27k | --m_multibyte_left; | 2664 | 4.27k | } | 2665 | | | 2666 | 9.79k | ++m_current; | 2667 | 9.79k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2656 | 1.36k | { | 2657 | 1.36k | if (m_multibyte_left == 0) { | 2658 | 1.36k | auto cplen = _get_cp_length_at_current(); | 2659 | 1.36k | m_multibyte_left = cplen - 1; | 2660 | 1.36k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 1.36k | } | 2662 | 0 | else { | 2663 | 0 | --m_multibyte_left; | 2664 | 0 | } | 2665 | | | 2666 | 1.36k | ++m_current; | 2667 | 1.36k | } |
|
2668 | | |
2669 | | void _decrement_current() |
2670 | 0 | { |
2671 | 0 | --m_current; |
2672 | |
|
2673 | 0 | auto cplen = _get_cp_length_at_current(); |
2674 | 0 | if (cplen == 0) { |
2675 | 0 | ++m_multibyte_left; |
2676 | 0 | } |
2677 | 0 | else { |
2678 | 0 | m_count += _get_width_at_current_cp_start(cplen); |
2679 | 0 | m_multibyte_left = cplen - 1; |
2680 | 0 | } |
2681 | 0 | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_decrement_current() |
2682 | | |
2683 | | It m_current{}; |
2684 | | S m_end{}; |
2685 | | difference_type m_count{0}; |
2686 | | difference_type m_multibyte_left{0}; |
2687 | | }; |
2688 | | |
2689 | | template <typename I, typename S> |
2690 | | counted_width_iterator(I, S, ranges::iter_difference_t<I>) |
2691 | | -> counted_width_iterator<I, S>; |
2692 | | } // namespace counted_width_iterator_impl |
2693 | | |
2694 | | using counted_width_iterator_impl::counted_width_iterator; |
2695 | | |
2696 | | template <typename View, typename = void> |
2697 | | struct take_width_view_storage; |
2698 | | |
2699 | | template <typename View> |
2700 | | struct take_width_view_storage<View, |
2701 | | std::enable_if_t<ranges::borrowed_range<View>>> { |
2702 | 20.7k | take_width_view_storage(const View& v) : view(v) {}Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::take_width_view_storage(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::take_width_view_storage(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&) scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&) Line | Count | Source | 2702 | 11.7k | take_width_view_storage(const View& v) : view(v) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::take_width_view_storage(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::take_width_view_storage(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&) scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&) Line | Count | Source | 2702 | 4.48k | take_width_view_storage(const View& v) : view(v) {} |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&) Line | Count | Source | 2702 | 2.93k | take_width_view_storage(const View& v) : view(v) {} |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&) Line | Count | Source | 2702 | 1.52k | take_width_view_storage(const View& v) : view(v) {} |
|
2703 | | |
2704 | | const View& get() const |
2705 | 223k | { |
2706 | 223k | return view; |
2707 | 223k | } Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::get() const scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, void>::get() const Line | Count | Source | 2705 | 152k | { | 2706 | 152k | return view; | 2707 | 152k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::get() const scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::get() const Line | Count | Source | 2705 | 41.5k | { | 2706 | 41.5k | return view; | 2707 | 41.5k | } |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::get() const Line | Count | Source | 2705 | 20.1k | { | 2706 | 20.1k | return view; | 2707 | 20.1k | } |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::get() const Line | Count | Source | 2705 | 9.78k | { | 2706 | 9.78k | return view; | 2707 | 9.78k | } |
|
2708 | | |
2709 | | View view; |
2710 | | }; |
2711 | | |
2712 | | template <typename View> |
2713 | | struct take_width_view_storage< |
2714 | | View, |
2715 | | std::enable_if_t<!ranges::borrowed_range<View>>> { |
2716 | | take_width_view_storage(const View& v) : view(&v) {} |
2717 | | |
2718 | | const View& get() const |
2719 | | { |
2720 | | return *view; |
2721 | | } |
2722 | | |
2723 | | const View* view; |
2724 | | }; |
2725 | | |
2726 | | template <typename View> |
2727 | | class take_width_view : public ranges::view_interface<take_width_view<View>> { |
2728 | | template <bool IsConst> |
2729 | | class sentinel { |
2730 | | friend class sentinel<!IsConst>; |
2731 | | using Base = std::conditional_t<IsConst, const View, View>; |
2732 | | using CWI = counted_width_iterator<ranges::iterator_t<Base>, |
2733 | | ranges::sentinel_t<Base>>; |
2734 | | using underlying = ranges::sentinel_t<Base>; |
2735 | | |
2736 | | public: |
2737 | | constexpr sentinel() = default; |
2738 | | |
2739 | 136k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {}Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 2739 | 10.0k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 2739 | 4.17k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>::sentinel(char const*) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>::sentinel(char const*) Line | Count | Source | 2739 | 105k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>::sentinel(wchar_t const*) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>::sentinel(wchar_t const*) Line | Count | Source | 2739 | 17.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
|
2740 | | |
2741 | | template < |
2742 | | typename S, |
2743 | | std::enable_if_t<std::is_same_v<S, sentinel<!IsConst>>>* = nullptr, |
2744 | | bool C = IsConst, |
2745 | | typename VV = View, |
2746 | | std::enable_if_t<C && std::is_convertible_v<ranges::sentinel_t<VV>, |
2747 | | underlying>>* = nullptr> |
2748 | | constexpr explicit sentinel(S s) : m_end(SCN_MOVE(s.m_end)) |
2749 | | { |
2750 | | } |
2751 | | |
2752 | | constexpr underlying base() const |
2753 | | { |
2754 | | return m_end; |
2755 | | } |
2756 | | |
2757 | | friend constexpr bool operator==(const CWI& y, const sentinel& x) |
2758 | 240k | { |
2759 | 240k | return (y.count() == 0 && y.multibyte_left() == 0) || |
2760 | 240k | y.base() == x.m_end; |
2761 | 240k | } Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2758 | 174k | { | 2759 | 174k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 174k | y.base() == x.m_end; | 2761 | 174k | } |
Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2758 | 49.1k | { | 2759 | 49.1k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 49.1k | y.base() == x.m_end; | 2761 | 49.1k | } |
scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2758 | 12.7k | { | 2759 | 12.7k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 12.7k | y.base() == x.m_end; | 2761 | 12.7k | } |
scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2758 | 4.17k | { | 2759 | 4.17k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 4.17k | y.base() == x.m_end; | 2761 | 4.17k | } |
|
2762 | | |
2763 | | friend constexpr bool operator==(const sentinel& x, const CWI& y) |
2764 | | { |
2765 | | return y == x; |
2766 | | } |
2767 | | |
2768 | | friend constexpr bool operator!=(const CWI& y, const sentinel& x) |
2769 | 126k | { |
2770 | 126k | return !(y == x); |
2771 | 126k | } Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2769 | 95.5k | { | 2770 | 95.5k | return !(y == x); | 2771 | 95.5k | } |
Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2769 | 22.9k | { | 2770 | 22.9k | return !(y == x); | 2771 | 22.9k | } |
scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2769 | 6.51k | { | 2770 | 6.51k | return !(y == x); | 2771 | 6.51k | } |
scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2769 | 1.60k | { | 2770 | 1.60k | return !(y == x); | 2771 | 1.60k | } |
|
2772 | | |
2773 | | friend constexpr bool operator!=(const sentinel& x, const CWI& y) |
2774 | | { |
2775 | | return !(y == x); |
2776 | | } |
2777 | | |
2778 | | private: |
2779 | | SCN_NO_UNIQUE_ADDRESS underlying m_end{}; |
2780 | | }; |
2781 | | |
2782 | | public: |
2783 | | using value_type = ranges::range_value_t<View>; |
2784 | | |
2785 | | take_width_view() = default; |
2786 | | |
2787 | | constexpr take_width_view(const View& base, std::ptrdiff_t count) |
2788 | 20.7k | : m_base(base), m_count(count) |
2789 | 20.7k | { |
2790 | 20.7k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::take_width_view(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::take_width_view(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) Line | Count | Source | 2788 | 11.7k | : m_base(base), m_count(count) | 2789 | 11.7k | { | 2790 | 11.7k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::take_width_view(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::take_width_view(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) Line | Count | Source | 2788 | 4.48k | : m_base(base), m_count(count) | 2789 | 4.48k | { | 2790 | 4.48k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) Line | Count | Source | 2788 | 2.93k | : m_base(base), m_count(count) | 2789 | 2.93k | { | 2790 | 2.93k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) Line | Count | Source | 2788 | 1.52k | : m_base(base), m_count(count) | 2789 | 1.52k | { | 2790 | 1.52k | } |
|
2791 | | |
2792 | | constexpr View base() const |
2793 | | { |
2794 | | return m_base; |
2795 | | } |
2796 | | |
2797 | | constexpr auto begin() const |
2798 | 43.4k | { |
2799 | 43.4k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), |
2800 | 43.4k | m_count}; |
2801 | 43.4k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::begin() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::begin() const Line | Count | Source | 2798 | 23.3k | { | 2799 | 23.3k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 23.3k | m_count}; | 2801 | 23.3k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::begin() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::begin() const Line | Count | Source | 2798 | 12.2k | { | 2799 | 12.2k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 12.2k | m_count}; | 2801 | 12.2k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::begin() const Line | Count | Source | 2798 | 5.07k | { | 2799 | 5.07k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 5.07k | m_count}; | 2801 | 5.07k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::begin() const Line | Count | Source | 2798 | 2.80k | { | 2799 | 2.80k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 2.80k | m_count}; | 2801 | 2.80k | } |
|
2802 | | |
2803 | | constexpr auto end() const |
2804 | 136k | { |
2805 | 136k | return sentinel<true>{m_base.get().end()}; |
2806 | 136k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::end() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::end() const Line | Count | Source | 2804 | 105k | { | 2805 | 105k | return sentinel<true>{m_base.get().end()}; | 2806 | 105k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::end() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::end() const Line | Count | Source | 2804 | 17.1k | { | 2805 | 17.1k | return sentinel<true>{m_base.get().end()}; | 2806 | 17.1k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::end() const Line | Count | Source | 2804 | 10.0k | { | 2805 | 10.0k | return sentinel<true>{m_base.get().end()}; | 2806 | 10.0k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::end() const Line | Count | Source | 2804 | 4.17k | { | 2805 | 4.17k | return sentinel<true>{m_base.get().end()}; | 2806 | 4.17k | } |
|
2807 | | |
2808 | | private: |
2809 | | take_width_view_storage<View> m_base{}; |
2810 | | std::ptrdiff_t m_count{0}; |
2811 | | }; |
2812 | | |
2813 | | template <typename R> |
2814 | | take_width_view(R&&, std::ptrdiff_t) -> take_width_view<R>; |
2815 | | |
2816 | | struct _take_width_fn { |
2817 | | template <typename R> |
2818 | | constexpr auto operator()(const R& r, std::ptrdiff_t n) const |
2819 | | -> decltype(take_width_view{r, n}) |
2820 | 20.7k | { |
2821 | 20.7k | return take_width_view{r, n}; |
2822 | 20.7k | } Unexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) constdecltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) constLine | Count | Source | 2820 | 11.7k | { | 2821 | 11.7k | return take_width_view{r, n}; | 2822 | 11.7k | } |
Unexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) constdecltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) constLine | Count | Source | 2820 | 4.48k | { | 2821 | 4.48k | return take_width_view{r, n}; | 2822 | 4.48k | } |
decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) constLine | Count | Source | 2820 | 2.93k | { | 2821 | 2.93k | return take_width_view{r, n}; | 2822 | 2.93k | } |
decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) constLine | Count | Source | 2820 | 1.52k | { | 2821 | 1.52k | return take_width_view{r, n}; | 2822 | 1.52k | } |
|
2823 | | }; |
2824 | | |
2825 | | inline constexpr _take_width_fn take_width{}; |
2826 | | } // namespace impl |
2827 | | |
2828 | | namespace ranges { |
2829 | | template <typename R> |
2830 | | inline constexpr bool enable_borrowed_range<::scn::impl::take_width_view<R>> = |
2831 | | enable_borrowed_range<R>; |
2832 | | } |
2833 | | |
2834 | | ///////////////////////////////////////////////////////////////// |
2835 | | // contiguous_scan_context |
2836 | | ///////////////////////////////////////////////////////////////// |
2837 | | |
2838 | | namespace impl { |
2839 | | template <typename CharT> |
2840 | | class basic_contiguous_scan_context |
2841 | | : public detail::scan_context_base< |
2842 | | basic_scan_args<basic_scan_context<CharT>>> { |
2843 | | using base = |
2844 | | detail::scan_context_base<basic_scan_args<basic_scan_context<CharT>>>; |
2845 | | |
2846 | | public: |
2847 | | using char_type = CharT; |
2848 | | using buffer_type = detail::basic_scan_buffer<char_type>; |
2849 | | using range_type = ranges::subrange<const char_type*, const char_type*>; |
2850 | | using iterator = const char_type*; |
2851 | | using sentinel = const char_type*; |
2852 | | using parse_context_type = basic_scan_parse_context<char_type>; |
2853 | | |
2854 | | using parent_context_type = basic_scan_context<char_type>; |
2855 | | using args_type = basic_scan_args<parent_context_type>; |
2856 | | using arg_type = basic_scan_arg<parent_context_type>; |
2857 | | |
2858 | | template <typename Range, |
2859 | | std::enable_if_t<ranges::contiguous_range<Range> && |
2860 | | ranges::borrowed_range<Range>>* = nullptr> |
2861 | | constexpr basic_contiguous_scan_context(Range&& r, |
2862 | | args_type a, |
2863 | | detail::locale_ref loc = {}) |
2864 | 591k | : base(SCN_MOVE(a), loc), |
2865 | 591k | m_range(SCN_FWD(r)), |
2866 | 591k | m_current(m_range.begin()) |
2867 | 591k | { |
2868 | 591k | } _ZN3scn2v34impl29basic_contiguous_scan_contextIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISF_EEvE4typeELPv0EEEOSF_NS0_15basic_scan_argsINS0_18basic_scan_contextIcEEEENS0_6detail10locale_refE Line | Count | Source | 2864 | 197k | : base(SCN_MOVE(a), loc), | 2865 | 197k | m_range(SCN_FWD(r)), | 2866 | 197k | m_current(m_range.begin()) | 2867 | 197k | { | 2868 | 197k | } |
_ZN3scn2v34impl29basic_contiguous_scan_contextIwEC2IRNS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISF_EEvE4typeELPv0EEEOSF_NS0_15basic_scan_argsINS0_18basic_scan_contextIwEEEENS0_6detail10locale_refE Line | Count | Source | 2864 | 394k | : base(SCN_MOVE(a), loc), | 2865 | 394k | m_range(SCN_FWD(r)), | 2866 | 394k | m_current(m_range.begin()) | 2867 | 394k | { | 2868 | 394k | } |
|
2869 | | |
2870 | | constexpr iterator begin() const |
2871 | 1.50M | { |
2872 | 1.50M | return m_current; |
2873 | 1.50M | } scn::v3::impl::basic_contiguous_scan_context<char>::begin() const Line | Count | Source | 2871 | 423k | { | 2872 | 423k | return m_current; | 2873 | 423k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::begin() const Line | Count | Source | 2871 | 1.08M | { | 2872 | 1.08M | return m_current; | 2873 | 1.08M | } |
|
2874 | | |
2875 | | constexpr sentinel end() const |
2876 | 1.48M | { |
2877 | 1.48M | return m_range.end(); |
2878 | 1.48M | } scn::v3::impl::basic_contiguous_scan_context<char>::end() const Line | Count | Source | 2876 | 306k | { | 2877 | 306k | return m_range.end(); | 2878 | 306k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::end() const Line | Count | Source | 2876 | 1.18M | { | 2877 | 1.18M | return m_range.end(); | 2878 | 1.18M | } |
|
2879 | | |
2880 | | constexpr auto range() const |
2881 | 200k | { |
2882 | 200k | return ranges::subrange{begin(), end()}; |
2883 | 200k | } scn::v3::impl::basic_contiguous_scan_context<char>::range() const Line | Count | Source | 2881 | 141k | { | 2882 | 141k | return ranges::subrange{begin(), end()}; | 2883 | 141k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::range() const Line | Count | Source | 2881 | 59.1k | { | 2882 | 59.1k | return ranges::subrange{begin(), end()}; | 2883 | 59.1k | } |
|
2884 | | |
2885 | | constexpr auto underlying_range() const |
2886 | 0 | { |
2887 | 0 | return m_range; |
2888 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::underlying_range() const Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::underlying_range() const |
2889 | | |
2890 | | void advance_to(iterator it) |
2891 | 576k | { |
2892 | 576k | SCN_EXPECT(it <= end()); |
2893 | 576k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { |
2894 | 576k | if (it == nullptr) { |
2895 | 0 | it = end(); |
2896 | 0 | } |
2897 | 576k | } |
2898 | 576k | m_current = SCN_MOVE(it); |
2899 | 576k | } scn::v3::impl::basic_contiguous_scan_context<char>::advance_to(char const*) Line | Count | Source | 2891 | 84.1k | { | 2892 | 84.1k | SCN_EXPECT(it <= end()); | 2893 | 84.1k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 2894 | 84.1k | if (it == nullptr) { | 2895 | 0 | it = end(); | 2896 | 0 | } | 2897 | 84.1k | } | 2898 | 84.1k | m_current = SCN_MOVE(it); | 2899 | 84.1k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::advance_to(wchar_t const*) Line | Count | Source | 2891 | 492k | { | 2892 | 492k | SCN_EXPECT(it <= end()); | 2893 | 492k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 2894 | 492k | if (it == nullptr) { | 2895 | 0 | it = end(); | 2896 | 0 | } | 2897 | 492k | } | 2898 | 492k | m_current = SCN_MOVE(it); | 2899 | 492k | } |
|
2900 | | |
2901 | | void advance_to(const typename parent_context_type::iterator& it) |
2902 | 0 | { |
2903 | 0 | SCN_EXPECT(it.position() <= m_range.size()); |
2904 | 0 | m_current = m_range.begin() + it.position(); |
2905 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::advance_to(scn::v3::detail::basic_scan_buffer<char>::forward_iterator const&) Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::advance_to(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const&) |
2906 | | |
2907 | | std::ptrdiff_t begin_position() |
2908 | 0 | { |
2909 | 0 | return ranges::distance(m_range.begin(), begin()); |
2910 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::begin_position() Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::begin_position() |
2911 | | |
2912 | | private: |
2913 | | range_type m_range; |
2914 | | iterator m_current; |
2915 | | }; |
2916 | | |
2917 | | struct reader_error_handler { |
2918 | | constexpr void on_error(const char* msg) |
2919 | 110k | { |
2920 | 110k | SCN_UNLIKELY_ATTR |
2921 | 110k | m_msg = msg; |
2922 | 110k | } |
2923 | | explicit constexpr operator bool() const |
2924 | 175k | { |
2925 | 175k | return m_msg == nullptr; |
2926 | 175k | } |
2927 | | |
2928 | | const char* m_msg{nullptr}; |
2929 | | }; |
2930 | | |
2931 | | ///////////////////////////////////////////////////////////////// |
2932 | | // General reading support |
2933 | | ///////////////////////////////////////////////////////////////// |
2934 | | |
2935 | | template <typename SourceRange> |
2936 | | auto skip_classic_whitespace(const SourceRange& range, |
2937 | | bool allow_exhaustion = false) |
2938 | | -> eof_expected<ranges::const_iterator_t<SourceRange>> |
2939 | 20.4k | { |
2940 | 20.4k | if (!allow_exhaustion) { |
2941 | 17.9k | auto it = read_while_classic_space(range); |
2942 | 17.9k | if (auto e = eof_check(ranges::subrange{it, range.end()}); |
2943 | 17.9k | SCN_UNLIKELY(!e)) { |
2944 | 174 | return unexpected(e); |
2945 | 174 | } |
2946 | | |
2947 | 17.7k | return it; |
2948 | 17.9k | } |
2949 | | |
2950 | 2.52k | return read_while_classic_space(range); |
2951 | 20.4k | } Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 2939 | 540 | { | 2940 | 540 | if (!allow_exhaustion) { | 2941 | 0 | auto it = read_while_classic_space(range); | 2942 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 0 | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 0 | return it; | 2948 | 0 | } | 2949 | | | 2950 | 540 | return read_while_classic_space(range); | 2951 | 540 | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 2939 | 7.22k | { | 2940 | 7.22k | if (!allow_exhaustion) { | 2941 | 6.95k | auto it = read_while_classic_space(range); | 2942 | 6.95k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 6.95k | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 6.95k | return it; | 2948 | 6.95k | } | 2949 | | | 2950 | 262 | return read_while_classic_space(range); | 2951 | 7.22k | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 2939 | 304 | { | 2940 | 304 | if (!allow_exhaustion) { | 2941 | 0 | auto it = read_while_classic_space(range); | 2942 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 0 | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 0 | return it; | 2948 | 0 | } | 2949 | | | 2950 | 304 | return read_while_classic_space(range); | 2951 | 304 | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 2939 | 8.98k | { | 2940 | 8.98k | if (!allow_exhaustion) { | 2941 | 7.56k | auto it = read_while_classic_space(range); | 2942 | 7.56k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 7.56k | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 7.56k | return it; | 2948 | 7.56k | } | 2949 | | | 2950 | 1.41k | return read_while_classic_space(range); | 2951 | 8.98k | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 2939 | 2.13k | { | 2940 | 2.13k | if (!allow_exhaustion) { | 2941 | 2.13k | auto it = read_while_classic_space(range); | 2942 | 2.13k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 2.13k | SCN_UNLIKELY(!e)) { | 2944 | 174 | return unexpected(e); | 2945 | 174 | } | 2946 | | | 2947 | 1.96k | return it; | 2948 | 2.13k | } | 2949 | | | 2950 | 0 | return read_while_classic_space(range); | 2951 | 2.13k | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 2939 | 1.28k | { | 2940 | 1.28k | if (!allow_exhaustion) { | 2941 | 1.28k | auto it = read_while_classic_space(range); | 2942 | 1.28k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 1.28k | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 1.28k | return it; | 2948 | 1.28k | } | 2949 | | | 2950 | 0 | return read_while_classic_space(range); | 2951 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b |
2952 | | |
2953 | | template <typename SourceCharT, typename DestCharT> |
2954 | | scan_error transcode_impl(std::basic_string_view<SourceCharT> src, |
2955 | | std::basic_string<DestCharT>& dst) |
2956 | 4.77k | { |
2957 | 4.77k | dst.clear(); |
2958 | 4.77k | transcode_valid_to_string(src, dst); |
2959 | 4.77k | return {}; |
2960 | 4.77k | } scn::v3::scan_error scn::v3::impl::transcode_impl<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2956 | 3.15k | { | 2957 | 3.15k | dst.clear(); | 2958 | 3.15k | transcode_valid_to_string(src, dst); | 2959 | 3.15k | return {}; | 2960 | 3.15k | } |
scn::v3::scan_error scn::v3::impl::transcode_impl<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2956 | 1.61k | { | 2957 | 1.61k | dst.clear(); | 2958 | 1.61k | transcode_valid_to_string(src, dst); | 2959 | 1.61k | return {}; | 2960 | 1.61k | } |
|
2961 | | |
2962 | | template <typename SourceCharT, typename DestCharT> |
2963 | | scan_error transcode_if_necessary( |
2964 | | const contiguous_range_factory<SourceCharT>& source, |
2965 | | std::basic_string<DestCharT>& dest) |
2966 | | { |
2967 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
2968 | | dest.assign(source.view()); |
2969 | | } |
2970 | | else { |
2971 | | return transcode_impl(source.view(), dest); |
2972 | | } |
2973 | | |
2974 | | return {}; |
2975 | | } |
2976 | | |
2977 | | template <typename SourceCharT, typename DestCharT> |
2978 | | scan_error transcode_if_necessary( |
2979 | | contiguous_range_factory<SourceCharT>&& source, |
2980 | | std::basic_string<DestCharT>& dest) |
2981 | 1.16k | { |
2982 | 1.16k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
2983 | 584 | if (source.stores_allocated_string()) { |
2984 | 584 | dest.assign(SCN_MOVE(source.get_allocated_string())); |
2985 | 584 | } |
2986 | 0 | else { |
2987 | 0 | dest.assign(source.view()); |
2988 | 0 | } |
2989 | | } |
2990 | 584 | else { |
2991 | 584 | return transcode_impl(source.view(), dest); |
2992 | 584 | } |
2993 | | |
2994 | 0 | return {}; |
2995 | 1.16k | } scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, char>(scn::v3::impl::contiguous_range_factory<char>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2981 | 410 | { | 2982 | 410 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | 410 | if (source.stores_allocated_string()) { | 2984 | 410 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | 410 | } | 2986 | 0 | else { | 2987 | 0 | dest.assign(source.view()); | 2988 | 0 | } | 2989 | | } | 2990 | | else { | 2991 | | return transcode_impl(source.view(), dest); | 2992 | | } | 2993 | | | 2994 | 410 | return {}; | 2995 | 410 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, wchar_t>(scn::v3::impl::contiguous_range_factory<char>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2981 | 410 | { | 2982 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | | if (source.stores_allocated_string()) { | 2984 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | | } | 2986 | | else { | 2987 | | dest.assign(source.view()); | 2988 | | } | 2989 | | } | 2990 | 410 | else { | 2991 | 410 | return transcode_impl(source.view(), dest); | 2992 | 410 | } | 2993 | | | 2994 | 0 | return {}; | 2995 | 410 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, char>(scn::v3::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2981 | 174 | { | 2982 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | | if (source.stores_allocated_string()) { | 2984 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | | } | 2986 | | else { | 2987 | | dest.assign(source.view()); | 2988 | | } | 2989 | | } | 2990 | 174 | else { | 2991 | 174 | return transcode_impl(source.view(), dest); | 2992 | 174 | } | 2993 | | | 2994 | 0 | return {}; | 2995 | 174 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v3::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2981 | 174 | { | 2982 | 174 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | 174 | if (source.stores_allocated_string()) { | 2984 | 174 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | 174 | } | 2986 | 0 | else { | 2987 | 0 | dest.assign(source.view()); | 2988 | 0 | } | 2989 | | } | 2990 | | else { | 2991 | | return transcode_impl(source.view(), dest); | 2992 | | } | 2993 | | | 2994 | 174 | return {}; | 2995 | 174 | } |
|
2996 | | |
2997 | | template <typename SourceCharT, typename DestCharT> |
2998 | | scan_error transcode_if_necessary(string_view_wrapper<SourceCharT> source, |
2999 | | std::basic_string<DestCharT>& dest) |
3000 | 8.38k | { |
3001 | 8.38k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3002 | 4.19k | dest.assign(source.view()); |
3003 | | } |
3004 | 4.19k | else { |
3005 | 4.19k | return transcode_impl(source.view(), dest); |
3006 | 4.19k | } |
3007 | | |
3008 | 0 | return {}; |
3009 | 8.38k | } scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, char>(scn::v3::impl::string_view_wrapper<char>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3000 | 2.74k | { | 3001 | 2.74k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | 2.74k | dest.assign(source.view()); | 3003 | | } | 3004 | | else { | 3005 | | return transcode_impl(source.view(), dest); | 3006 | | } | 3007 | | | 3008 | 2.74k | return {}; | 3009 | 2.74k | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, wchar_t>(scn::v3::impl::string_view_wrapper<char>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3000 | 2.74k | { | 3001 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | | dest.assign(source.view()); | 3003 | | } | 3004 | 2.74k | else { | 3005 | 2.74k | return transcode_impl(source.view(), dest); | 3006 | 2.74k | } | 3007 | | | 3008 | 0 | return {}; | 3009 | 2.74k | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, char>(scn::v3::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3000 | 1.44k | { | 3001 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | | dest.assign(source.view()); | 3003 | | } | 3004 | 1.44k | else { | 3005 | 1.44k | return transcode_impl(source.view(), dest); | 3006 | 1.44k | } | 3007 | | | 3008 | 0 | return {}; | 3009 | 1.44k | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v3::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3000 | 1.44k | { | 3001 | 1.44k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | 1.44k | dest.assign(source.view()); | 3003 | | } | 3004 | | else { | 3005 | | return transcode_impl(source.view(), dest); | 3006 | | } | 3007 | | | 3008 | 1.44k | return {}; | 3009 | 1.44k | } |
|
3010 | | |
3011 | | ///////////////////////////////////////////////////////////////// |
3012 | | // Reader base classes etc. |
3013 | | ///////////////////////////////////////////////////////////////// |
3014 | | |
3015 | | template <typename Derived, typename CharT> |
3016 | | class reader_base { |
3017 | | public: |
3018 | | using char_type = CharT; |
3019 | | |
3020 | | constexpr reader_base() = default; |
3021 | | |
3022 | | bool skip_ws_before_read() const |
3023 | 10.2k | { |
3024 | 10.2k | return true; |
3025 | 10.2k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 2.59k | { | 3024 | 2.59k | return true; | 3025 | 2.59k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.26k | { | 3024 | 1.26k | return true; | 3025 | 1.26k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::skip_ws_before_read() const scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 2.39k | { | 3024 | 2.39k | return true; | 3025 | 2.39k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.17k | { | 3024 | 1.17k | return true; | 3025 | 1.17k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::skip_ws_before_read() const scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.52k | { | 3024 | 1.52k | return true; | 3025 | 1.52k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.28k | { | 3024 | 1.28k | return true; | 3025 | 1.28k | } |
|
3026 | | |
3027 | | scan_error check_specs(const detail::format_specs& specs) |
3028 | 136k | { |
3029 | 136k | reader_error_handler eh{}; |
3030 | 136k | get_derived().check_specs_impl(specs, eh); |
3031 | 136k | if (SCN_UNLIKELY(!eh)) { |
3032 | 73.7k | return {scan_error::invalid_format_string, eh.m_msg}; |
3033 | 73.7k | } |
3034 | 62.8k | return {}; |
3035 | 136k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 28.2k | { | 3029 | 28.2k | reader_error_handler eh{}; | 3030 | 28.2k | get_derived().check_specs_impl(specs, eh); | 3031 | 28.2k | if (SCN_UNLIKELY(!eh)) { | 3032 | 26.9k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 26.9k | } | 3034 | 1.28k | return {}; | 3035 | 28.2k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 14.1k | { | 3029 | 14.1k | reader_error_handler eh{}; | 3030 | 14.1k | get_derived().check_specs_impl(specs, eh); | 3031 | 14.1k | if (SCN_UNLIKELY(!eh)) { | 3032 | 13.5k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 13.5k | } | 3034 | 612 | return {}; | 3035 | 14.1k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 42.1k | { | 3029 | 42.1k | reader_error_handler eh{}; | 3030 | 42.1k | get_derived().check_specs_impl(specs, eh); | 3031 | 42.1k | if (SCN_UNLIKELY(!eh)) { | 3032 | 378 | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 378 | } | 3034 | 41.7k | return {}; | 3035 | 42.1k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::check_specs(scn::v3::detail::format_specs const&) scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 10.8k | { | 3029 | 10.8k | reader_error_handler eh{}; | 3030 | 10.8k | get_derived().check_specs_impl(specs, eh); | 3031 | 10.8k | if (SCN_UNLIKELY(!eh)) { | 3032 | 9.71k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 9.71k | } | 3034 | 1.17k | return {}; | 3035 | 10.8k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 5.44k | { | 3029 | 5.44k | reader_error_handler eh{}; | 3030 | 5.44k | get_derived().check_specs_impl(specs, eh); | 3031 | 5.44k | if (SCN_UNLIKELY(!eh)) { | 3032 | 4.88k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 4.88k | } | 3034 | 560 | return {}; | 3035 | 5.44k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 16.1k | { | 3029 | 16.1k | reader_error_handler eh{}; | 3030 | 16.1k | get_derived().check_specs_impl(specs, eh); | 3031 | 16.1k | if (SCN_UNLIKELY(!eh)) { | 3032 | 240 | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 240 | } | 3034 | 15.9k | return {}; | 3035 | 16.1k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 14.1k | { | 3029 | 14.1k | reader_error_handler eh{}; | 3030 | 14.1k | get_derived().check_specs_impl(specs, eh); | 3031 | 14.1k | if (SCN_UNLIKELY(!eh)) { | 3032 | 13.2k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 13.2k | } | 3034 | 866 | return {}; | 3035 | 14.1k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 5.44k | { | 3029 | 5.44k | reader_error_handler eh{}; | 3030 | 5.44k | get_derived().check_specs_impl(specs, eh); | 3031 | 5.44k | if (SCN_UNLIKELY(!eh)) { | 3032 | 4.77k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 4.77k | } | 3034 | 674 | return {}; | 3035 | 5.44k | } |
|
3036 | | |
3037 | | private: |
3038 | | Derived& get_derived() |
3039 | 136k | { |
3040 | 136k | return static_cast<Derived&>(*this); |
3041 | 136k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::get_derived() Line | Count | Source | 3039 | 28.2k | { | 3040 | 28.2k | return static_cast<Derived&>(*this); | 3041 | 28.2k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::get_derived() Line | Count | Source | 3039 | 14.1k | { | 3040 | 14.1k | return static_cast<Derived&>(*this); | 3041 | 14.1k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<char>, char>::get_derived() Line | Count | Source | 3039 | 42.1k | { | 3040 | 42.1k | return static_cast<Derived&>(*this); | 3041 | 42.1k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::get_derived() scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 10.8k | { | 3040 | 10.8k | return static_cast<Derived&>(*this); | 3041 | 10.8k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 5.44k | { | 3040 | 5.44k | return static_cast<Derived&>(*this); | 3041 | 5.44k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 16.1k | { | 3040 | 16.1k | return static_cast<Derived&>(*this); | 3041 | 16.1k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::get_derived() scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::get_derived() Line | Count | Source | 3039 | 14.1k | { | 3040 | 14.1k | return static_cast<Derived&>(*this); | 3041 | 14.1k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 5.44k | { | 3040 | 5.44k | return static_cast<Derived&>(*this); | 3041 | 5.44k | } |
|
3042 | | const Derived& get_derived() const |
3043 | | { |
3044 | | return static_cast<const Derived&>(*this); |
3045 | | } |
3046 | | }; |
3047 | | |
3048 | | template <typename CharT> |
3049 | | class reader_impl_for_monostate { |
3050 | | public: |
3051 | | constexpr reader_impl_for_monostate() = default; |
3052 | | |
3053 | | bool skip_ws_before_read() const |
3054 | 0 | { |
3055 | 0 | return true; |
3056 | 0 | } Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<char>::skip_ws_before_read() const Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<wchar_t>::skip_ws_before_read() const |
3057 | | |
3058 | | static scan_error check_specs(const detail::format_specs&) |
3059 | 0 | { |
3060 | 0 | SCN_EXPECT(false); |
3061 | 0 | SCN_UNREACHABLE; |
3062 | 0 | } Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<char>::check_specs(scn::v3::detail::format_specs const&) Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<wchar_t>::check_specs(scn::v3::detail::format_specs const&) |
3063 | | |
3064 | | template <typename Range> |
3065 | | auto read_default(Range, monostate&, detail::locale_ref) |
3066 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3067 | 0 | { |
3068 | 0 | SCN_EXPECT(false); |
3069 | 0 | SCN_UNREACHABLE; |
3070 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE |
3071 | | |
3072 | | template <typename Range> |
3073 | | auto read_specs(Range, |
3074 | | const detail::format_specs&, |
3075 | | monostate&, |
3076 | | detail::locale_ref) |
3077 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3078 | 0 | { |
3079 | 0 | SCN_EXPECT(false); |
3080 | 0 | SCN_UNREACHABLE; |
3081 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE |
3082 | | }; |
3083 | | |
3084 | | ///////////////////////////////////////////////////////////////// |
3085 | | // Numeric reader support |
3086 | | ///////////////////////////////////////////////////////////////// |
3087 | | |
3088 | | enum class sign_type { default_sign = -1, minus_sign = 0, plus_sign = 1 }; |
3089 | | |
3090 | | inline constexpr std::array<uint8_t, 256> char_to_int_table = { |
3091 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3092 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3093 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3094 | | 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, |
3095 | | 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, |
3096 | | 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
3097 | | 35, 255, 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, |
3098 | | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, |
3099 | | 33, 34, 35, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3100 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3101 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3102 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3103 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3104 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3105 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3106 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3107 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3108 | | 255}; |
3109 | | |
3110 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(char ch) |
3111 | 17.0k | { |
3112 | 17.0k | return char_to_int_table[static_cast<unsigned char>(ch)]; |
3113 | 17.0k | } |
3114 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(wchar_t ch) |
3115 | 8.26k | { |
3116 | 8.26k | #if WCHAR_MIN < 0 |
3117 | 8.26k | if (ch >= 0 && ch <= 255) { |
3118 | | #else |
3119 | | if (ch <= 255) { |
3120 | | #endif |
3121 | 8.26k | return char_to_int(static_cast<char>(ch)); |
3122 | 8.26k | } |
3123 | 0 | return 255; |
3124 | 8.26k | } |
3125 | | |
3126 | | template <typename Range> |
3127 | | auto parse_numeric_sign(Range range) |
3128 | | -> eof_expected<std::pair<ranges::const_iterator_t<Range>, sign_type>> |
3129 | 9.71k | { |
3130 | 9.71k | auto r = read_one_of_code_unit(range, "+-"); |
3131 | 9.71k | if (!r) { |
3132 | 9.71k | if (r.error() == parse_error::error) { |
3133 | 9.71k | return std::pair{range.begin(), sign_type::default_sign}; |
3134 | 9.71k | } |
3135 | 0 | return unexpected(eof_error::eof); |
3136 | 9.71k | } |
3137 | | |
3138 | 0 | auto& it = *r; |
3139 | 0 | if (*range.begin() == '-') { |
3140 | 0 | return std::pair{it, sign_type::minus_sign}; |
3141 | 0 | } |
3142 | 0 | return std::pair{it, sign_type::plus_sign}; |
3143 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3129 | 1.18k | { | 3130 | 1.18k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 1.18k | if (!r) { | 3132 | 1.18k | if (r.error() == parse_error::error) { | 3133 | 1.18k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 1.18k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 1.18k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
_ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3129 | 3.81k | { | 3130 | 3.81k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 3.81k | if (!r) { | 3132 | 3.81k | if (r.error() == parse_error::error) { | 3133 | 3.81k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 3.81k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 3.81k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3129 | 758 | { | 3130 | 758 | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 758 | if (!r) { | 3132 | 758 | if (r.error() == parse_error::error) { | 3133 | 758 | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 758 | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 758 | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
_ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3129 | 3.95k | { | 3130 | 3.95k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 3.95k | if (!r) { | 3132 | 3.95k | if (r.error() == parse_error::error) { | 3133 | 3.95k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 3.95k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 3.95k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ |
3144 | | |
3145 | | inline void transform_thsep_indices(std::string& indices, |
3146 | | std::ptrdiff_t last_thsep_index) |
3147 | 0 | { |
3148 | 0 | for (auto thsep_it = indices.rbegin(); thsep_it != indices.rend(); |
3149 | 0 | ++thsep_it) { |
3150 | 0 | const auto tmp = *thsep_it; |
3151 | 0 | *thsep_it = static_cast<char>(last_thsep_index - tmp - 1); |
3152 | 0 | last_thsep_index = static_cast<std::ptrdiff_t>(tmp); |
3153 | 0 | } |
3154 | 0 | indices.insert(indices.begin(), static_cast<char>(last_thsep_index)); |
3155 | 0 | } |
3156 | | |
3157 | | template <typename Range> |
3158 | | bool check_thsep_grouping_impl(Range range, |
3159 | | std::string& thsep_indices, |
3160 | | std::string_view grouping) |
3161 | 0 | { |
3162 | 0 | transform_thsep_indices(thsep_indices, |
3163 | 0 | ranges::distance(range.begin(), range.end())); |
3164 | |
|
3165 | 0 | auto thsep_it = thsep_indices.rbegin(); |
3166 | 0 | for (auto grouping_it = grouping.begin(); |
3167 | 0 | grouping_it != grouping.end() && thsep_it != thsep_indices.rend() - 1; |
3168 | 0 | ++grouping_it, (void)++thsep_it) { |
3169 | 0 | if (*thsep_it != *grouping_it) { |
3170 | 0 | return false; |
3171 | 0 | } |
3172 | 0 | } |
3173 | | |
3174 | 0 | SCN_CLANG_PUSH |
3175 | | // false positive |
3176 | 0 | SCN_CLANG_IGNORE("-Wzero-as-null-pointer-constant") |
3177 | | |
3178 | 0 | for (; thsep_it < thsep_indices.rend() - 1; ++thsep_it) { |
3179 | 0 | if (*thsep_it != grouping.back()) { |
3180 | 0 | return false; |
3181 | 0 | } |
3182 | 0 | } |
3183 | | |
3184 | 0 | if (thsep_it == thsep_indices.rend() - 1) { |
3185 | 0 | if (*thsep_it > grouping.back()) { |
3186 | 0 | return false; |
3187 | 0 | } |
3188 | 0 | } |
3189 | | |
3190 | 0 | SCN_CLANG_POP |
3191 | | |
3192 | 0 | return true; |
3193 | 0 | } Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) |
3194 | | |
3195 | | template <typename Range> |
3196 | | scan_error check_thsep_grouping(Range range, |
3197 | | std::string thsep_indices, |
3198 | | std::string_view grouping) |
3199 | 0 | { |
3200 | 0 | SCN_EXPECT(!thsep_indices.empty()); |
3201 | | |
3202 | 0 | if (!check_thsep_grouping_impl(range, thsep_indices, grouping)) { |
3203 | 0 | SCN_UNLIKELY_ATTR |
3204 | 0 | return {scan_error::invalid_scanned_value, |
3205 | 0 | "Invalid thousands separator grouping"}; |
3206 | 0 | } |
3207 | | |
3208 | 0 | return {}; |
3209 | 0 | } Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) |
3210 | | |
3211 | | template <typename CharT> |
3212 | | class numeric_reader { |
3213 | | public: |
3214 | | contiguous_range_factory<CharT> m_buffer{}; |
3215 | | }; |
3216 | | |
3217 | | ///////////////////////////////////////////////////////////////// |
3218 | | // Integer reader |
3219 | | ///////////////////////////////////////////////////////////////// |
3220 | | |
3221 | | template <typename Iterator> |
3222 | | struct parse_integer_prefix_result { |
3223 | | SCN_NO_UNIQUE_ADDRESS Iterator iterator; |
3224 | | int parsed_base{0}; |
3225 | | sign_type sign{sign_type::default_sign}; |
3226 | | bool is_zero{false}; |
3227 | | }; |
3228 | | |
3229 | | template <typename Range> |
3230 | | auto parse_integer_bin_base_prefix(Range range) |
3231 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3232 | 112 | { |
3233 | 112 | return read_matching_string_classic_nocase(range, "0b"); |
3234 | 112 | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3232 | 34 | { | 3233 | 34 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 34 | } |
_ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3232 | 22 | { | 3233 | 22 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3232 | 28 | { | 3233 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 28 | } |
_ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3232 | 28 | { | 3233 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 28 | } |
|
3235 | | |
3236 | | template <typename Range> |
3237 | | auto parse_integer_hex_base_prefix(Range range) |
3238 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3239 | 2.42k | { |
3240 | 2.42k | return read_matching_string_classic_nocase(range, "0x"); |
3241 | 2.42k | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3239 | 306 | { | 3240 | 306 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 306 | } |
_ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3239 | 938 | { | 3240 | 938 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 938 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3239 | 192 | { | 3240 | 192 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 192 | } |
_ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3239 | 992 | { | 3240 | 992 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 992 | } |
|
3242 | | |
3243 | | template <typename Range> |
3244 | | auto parse_integer_oct_base_prefix(Range range, bool& zero_parsed) |
3245 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3246 | 200 | { |
3247 | 200 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { |
3248 | 0 | return *r; |
3249 | 0 | } |
3250 | | |
3251 | 200 | if (auto r = read_matching_code_unit(range, '0')) { |
3252 | 0 | zero_parsed = true; |
3253 | 0 | return *r; |
3254 | 0 | } |
3255 | | |
3256 | 200 | return unexpected(parse_error::error); |
3257 | 200 | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3246 | 34 | { | 3247 | 34 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 34 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 34 | return unexpected(parse_error::error); | 3257 | 34 | } |
_ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3246 | 102 | { | 3247 | 102 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 102 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 102 | return unexpected(parse_error::error); | 3257 | 102 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3246 | 38 | { | 3247 | 38 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 38 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 38 | return unexpected(parse_error::error); | 3257 | 38 | } |
_ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3246 | 26 | { | 3247 | 26 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 26 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 26 | return unexpected(parse_error::error); | 3257 | 26 | } |
|
3258 | | |
3259 | | template <typename Range> |
3260 | | auto parse_integer_base_prefix_for_detection(Range range) |
3261 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3262 | 74 | { |
3263 | 74 | if (auto r = parse_integer_hex_base_prefix(range)) { |
3264 | 0 | return {*r, 16, false}; |
3265 | 0 | } |
3266 | 74 | if (auto r = parse_integer_bin_base_prefix(range)) { |
3267 | 0 | return {*r, 2, false}; |
3268 | 0 | } |
3269 | 74 | { |
3270 | 74 | bool zero_parsed{false}; |
3271 | 74 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { |
3272 | 0 | return {*r, 8, zero_parsed}; |
3273 | 0 | } |
3274 | 74 | } |
3275 | 74 | return {range.begin(), 10, false}; |
3276 | 74 | } Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3262 | 20 | { | 3263 | 20 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 20 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 20 | { | 3270 | 20 | bool zero_parsed{false}; | 3271 | 20 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 20 | } | 3275 | 20 | return {range.begin(), 10, false}; | 3276 | 20 | } |
_ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3262 | 16 | { | 3263 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 16 | { | 3270 | 16 | bool zero_parsed{false}; | 3271 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 16 | } | 3275 | 16 | return {range.begin(), 10, false}; | 3276 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3262 | 22 | { | 3263 | 22 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 22 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 22 | { | 3270 | 22 | bool zero_parsed{false}; | 3271 | 22 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 22 | } | 3275 | 22 | return {range.begin(), 10, false}; | 3276 | 22 | } |
_ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3262 | 16 | { | 3263 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 16 | { | 3270 | 16 | bool zero_parsed{false}; | 3271 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 16 | } | 3275 | 16 | return {range.begin(), 10, false}; | 3276 | 16 | } |
|
3277 | | |
3278 | | template <typename Range> |
3279 | | auto parse_integer_base_prefix(Range range, int base) |
3280 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3281 | 7.30k | { |
3282 | 7.30k | switch (base) { |
3283 | 38 | case 2: |
3284 | | // allow 0b/0B |
3285 | 38 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, |
3286 | 38 | false}; |
3287 | | |
3288 | 126 | case 8: { |
3289 | | // allow 0o/0O/0 |
3290 | 126 | bool zero_parsed = false; |
3291 | 126 | auto it = apply_opt( |
3292 | 126 | parse_integer_oct_base_prefix(range, zero_parsed), range); |
3293 | 126 | return {it, 8, zero_parsed}; |
3294 | 0 | } |
3295 | | |
3296 | 2.35k | case 16: |
3297 | | // allow 0x/0X |
3298 | 2.35k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, |
3299 | 2.35k | false}; |
3300 | | |
3301 | 74 | case 0: |
3302 | | // detect base |
3303 | 74 | return parse_integer_base_prefix_for_detection(range); |
3304 | | |
3305 | 4.71k | default: |
3306 | | // no base prefix allowed |
3307 | 4.71k | return {range.begin(), base, false}; |
3308 | 7.30k | } |
3309 | 7.30k | } Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3281 | 888 | { | 3282 | 888 | switch (base) { | 3283 | 14 | case 2: | 3284 | | // allow 0b/0B | 3285 | 14 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 14 | false}; | 3287 | | | 3288 | 14 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 14 | bool zero_parsed = false; | 3291 | 14 | auto it = apply_opt( | 3292 | 14 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 14 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 286 | case 16: | 3297 | | // allow 0x/0X | 3298 | 286 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 286 | false}; | 3300 | | | 3301 | 20 | case 0: | 3302 | | // detect base | 3303 | 20 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 554 | default: | 3306 | | // no base prefix allowed | 3307 | 554 | return {range.begin(), base, false}; | 3308 | 888 | } | 3309 | 888 | } |
_ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3281 | 2.87k | { | 3282 | 2.87k | switch (base) { | 3283 | 6 | case 2: | 3284 | | // allow 0b/0B | 3285 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 6 | false}; | 3287 | | | 3288 | 86 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 86 | bool zero_parsed = false; | 3291 | 86 | auto it = apply_opt( | 3292 | 86 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 86 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 922 | case 16: | 3297 | | // allow 0x/0X | 3298 | 922 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 922 | false}; | 3300 | | | 3301 | 16 | case 0: | 3302 | | // detect base | 3303 | 16 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 1.84k | default: | 3306 | | // no base prefix allowed | 3307 | 1.84k | return {range.begin(), base, false}; | 3308 | 2.87k | } | 3309 | 2.87k | } |
Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3281 | 576 | { | 3282 | 576 | switch (base) { | 3283 | 6 | case 2: | 3284 | | // allow 0b/0B | 3285 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 6 | false}; | 3287 | | | 3288 | 16 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 16 | bool zero_parsed = false; | 3291 | 16 | auto it = apply_opt( | 3292 | 16 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 16 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 170 | case 16: | 3297 | | // allow 0x/0X | 3298 | 170 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 170 | false}; | 3300 | | | 3301 | 22 | case 0: | 3302 | | // detect base | 3303 | 22 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 362 | default: | 3306 | | // no base prefix allowed | 3307 | 362 | return {range.begin(), base, false}; | 3308 | 576 | } | 3309 | 576 | } |
_ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3281 | 2.97k | { | 3282 | 2.97k | switch (base) { | 3283 | 12 | case 2: | 3284 | | // allow 0b/0B | 3285 | 12 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 12 | false}; | 3287 | | | 3288 | 10 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 10 | bool zero_parsed = false; | 3291 | 10 | auto it = apply_opt( | 3292 | 10 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 10 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 976 | case 16: | 3297 | | // allow 0x/0X | 3298 | 976 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 976 | false}; | 3300 | | | 3301 | 16 | case 0: | 3302 | | // detect base | 3303 | 16 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 1.95k | default: | 3306 | | // no base prefix allowed | 3307 | 1.95k | return {range.begin(), base, false}; | 3308 | 2.97k | } | 3309 | 2.97k | } |
|
3310 | | |
3311 | | template <typename Range> |
3312 | | auto parse_integer_prefix(Range range, int base) -> eof_expected< |
3313 | | parse_integer_prefix_result<ranges::const_iterator_t<Range>>> |
3314 | 7.30k | { |
3315 | 7.30k | SCN_TRY(sign_result, parse_numeric_sign(range)); |
3316 | 7.30k | auto [base_prefix_begin_it, sign] = sign_result; |
3317 | | |
3318 | 7.30k | auto [digits_begin_it, parsed_base, parsed_zero] = |
3319 | 7.30k | parse_integer_base_prefix( |
3320 | 7.30k | ranges::subrange{base_prefix_begin_it, range.end()}, base); |
3321 | | |
3322 | 7.30k | if (parsed_zero) { |
3323 | 0 | if (digits_begin_it == range.end() || |
3324 | 0 | char_to_int(*digits_begin_it) >= 8) { |
3325 | 0 | digits_begin_it = base_prefix_begin_it; |
3326 | 0 | } |
3327 | 0 | else { |
3328 | 0 | parsed_zero = false; |
3329 | 0 | } |
3330 | 0 | } |
3331 | 7.30k | else { |
3332 | 7.30k | if (digits_begin_it == range.end() || |
3333 | 7.30k | char_to_int(*digits_begin_it) >= parsed_base) { |
3334 | 7.30k | digits_begin_it = base_prefix_begin_it; |
3335 | 7.30k | } |
3336 | 7.30k | } |
3337 | | |
3338 | 7.30k | if (sign == sign_type::default_sign) { |
3339 | 7.30k | sign = sign_type::plus_sign; |
3340 | 7.30k | } |
3341 | 7.30k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ |
3342 | 7.30k | digits_begin_it, parsed_base, sign, parsed_zero}; |
3343 | 7.30k | } Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3314 | 888 | { | 3315 | 888 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 888 | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 888 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 888 | parse_integer_base_prefix( | 3320 | 888 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 888 | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 888 | else { | 3332 | 888 | if (digits_begin_it == range.end() || | 3333 | 888 | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 888 | digits_begin_it = base_prefix_begin_it; | 3335 | 888 | } | 3336 | 888 | } | 3337 | | | 3338 | 888 | if (sign == sign_type::default_sign) { | 3339 | 888 | sign = sign_type::plus_sign; | 3340 | 888 | } | 3341 | 888 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 888 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 888 | } |
_ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3314 | 2.87k | { | 3315 | 2.87k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 2.87k | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 2.87k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 2.87k | parse_integer_base_prefix( | 3320 | 2.87k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 2.87k | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 2.87k | else { | 3332 | 2.87k | if (digits_begin_it == range.end() || | 3333 | 2.87k | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 2.87k | digits_begin_it = base_prefix_begin_it; | 3335 | 2.87k | } | 3336 | 2.87k | } | 3337 | | | 3338 | 2.87k | if (sign == sign_type::default_sign) { | 3339 | 2.87k | sign = sign_type::plus_sign; | 3340 | 2.87k | } | 3341 | 2.87k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 2.87k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 2.87k | } |
Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3314 | 576 | { | 3315 | 576 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 576 | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 576 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 576 | parse_integer_base_prefix( | 3320 | 576 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 576 | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 576 | else { | 3332 | 576 | if (digits_begin_it == range.end() || | 3333 | 576 | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 576 | digits_begin_it = base_prefix_begin_it; | 3335 | 576 | } | 3336 | 576 | } | 3337 | | | 3338 | 576 | if (sign == sign_type::default_sign) { | 3339 | 576 | sign = sign_type::plus_sign; | 3340 | 576 | } | 3341 | 576 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 576 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 576 | } |
_ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3314 | 2.97k | { | 3315 | 2.97k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 2.97k | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 2.97k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 2.97k | parse_integer_base_prefix( | 3320 | 2.97k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 2.97k | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 2.97k | else { | 3332 | 2.97k | if (digits_begin_it == range.end() || | 3333 | 2.97k | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 2.97k | digits_begin_it = base_prefix_begin_it; | 3335 | 2.97k | } | 3336 | 2.97k | } | 3337 | | | 3338 | 2.97k | if (sign == sign_type::default_sign) { | 3339 | 2.97k | sign = sign_type::plus_sign; | 3340 | 2.97k | } | 3341 | 2.97k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 2.97k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 2.97k | } |
|
3344 | | |
3345 | | template <typename Range> |
3346 | | auto parse_integer_digits_without_thsep(Range range, int base) |
3347 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3348 | 7.11k | { |
3349 | 7.11k | using char_type = detail::char_t<Range>; |
3350 | | |
3351 | 7.11k | if constexpr (ranges::contiguous_range<Range>) { |
3352 | 5.70k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
3353 | 0 | return unexpected_scan_error( |
3354 | 0 | scan_error::invalid_scanned_value, |
3355 | 0 | "Failed to parse integer: No digits found"); |
3356 | 0 | } |
3357 | 5.70k | return range.end(); |
3358 | | } |
3359 | 1.40k | else { |
3360 | 1.40k | return read_while1_code_unit(range, |
3361 | 1.40k | [&](char_type ch) noexcept { |
3362 | 1.40k | return char_to_int(ch) < base; |
3363 | 1.40k | }) Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlcE_clEc _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlcE_clEc Line | Count | Source | 3361 | 868 | [&](char_type ch) noexcept { | 3362 | 868 | return char_to_int(ch) < base; | 3363 | 868 | }) |
Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlwE_clEw _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlwE_clEw Line | Count | Source | 3361 | 536 | [&](char_type ch) noexcept { | 3362 | 536 | return char_to_int(ch) < base; | 3363 | 536 | }) |
|
3364 | 1.40k | .transform_error(map_parse_error_to_scan_error( |
3365 | 1.40k | scan_error::invalid_scanned_value, |
3366 | 1.40k | "Failed to parse integer: No digits found")); |
3367 | 1.40k | } |
3368 | 7.11k | } Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3348 | 868 | { | 3349 | 868 | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | | if constexpr (ranges::contiguous_range<Range>) { | 3352 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | | return unexpected_scan_error( | 3354 | | scan_error::invalid_scanned_value, | 3355 | | "Failed to parse integer: No digits found"); | 3356 | | } | 3357 | | return range.end(); | 3358 | | } | 3359 | 868 | else { | 3360 | 868 | return read_while1_code_unit(range, | 3361 | 868 | [&](char_type ch) noexcept { | 3362 | 868 | return char_to_int(ch) < base; | 3363 | 868 | }) | 3364 | 868 | .transform_error(map_parse_error_to_scan_error( | 3365 | 868 | scan_error::invalid_scanned_value, | 3366 | 868 | "Failed to parse integer: No digits found")); | 3367 | 868 | } | 3368 | 868 | } |
_ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3348 | 2.78k | { | 3349 | 2.78k | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | 2.78k | if constexpr (ranges::contiguous_range<Range>) { | 3352 | 2.78k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | 0 | return unexpected_scan_error( | 3354 | 0 | scan_error::invalid_scanned_value, | 3355 | 0 | "Failed to parse integer: No digits found"); | 3356 | 0 | } | 3357 | 2.78k | return range.end(); | 3358 | | } | 3359 | | else { | 3360 | | return read_while1_code_unit(range, | 3361 | | [&](char_type ch) noexcept { | 3362 | | return char_to_int(ch) < base; | 3363 | | }) | 3364 | | .transform_error(map_parse_error_to_scan_error( | 3365 | | scan_error::invalid_scanned_value, | 3366 | | "Failed to parse integer: No digits found")); | 3367 | | } | 3368 | 2.78k | } |
Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3348 | 536 | { | 3349 | 536 | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | | if constexpr (ranges::contiguous_range<Range>) { | 3352 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | | return unexpected_scan_error( | 3354 | | scan_error::invalid_scanned_value, | 3355 | | "Failed to parse integer: No digits found"); | 3356 | | } | 3357 | | return range.end(); | 3358 | | } | 3359 | 536 | else { | 3360 | 536 | return read_while1_code_unit(range, | 3361 | 536 | [&](char_type ch) noexcept { | 3362 | 536 | return char_to_int(ch) < base; | 3363 | 536 | }) | 3364 | 536 | .transform_error(map_parse_error_to_scan_error( | 3365 | 536 | scan_error::invalid_scanned_value, | 3366 | 536 | "Failed to parse integer: No digits found")); | 3367 | 536 | } | 3368 | 536 | } |
_ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3348 | 2.92k | { | 3349 | 2.92k | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | 2.92k | if constexpr (ranges::contiguous_range<Range>) { | 3352 | 2.92k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | 0 | return unexpected_scan_error( | 3354 | 0 | scan_error::invalid_scanned_value, | 3355 | 0 | "Failed to parse integer: No digits found"); | 3356 | 0 | } | 3357 | 2.92k | return range.end(); | 3358 | | } | 3359 | | else { | 3360 | | return read_while1_code_unit(range, | 3361 | | [&](char_type ch) noexcept { | 3362 | | return char_to_int(ch) < base; | 3363 | | }) | 3364 | | .transform_error(map_parse_error_to_scan_error( | 3365 | | scan_error::invalid_scanned_value, | 3366 | | "Failed to parse integer: No digits found")); | 3367 | | } | 3368 | 2.92k | } |
|
3369 | | |
3370 | | template <typename Range, typename CharT> |
3371 | | auto parse_integer_digits_with_thsep( |
3372 | | Range range, |
3373 | | int base, |
3374 | | const localized_number_formatting_options<CharT>& locale_options) |
3375 | | -> scan_expected<std::tuple<ranges::const_iterator_t<Range>, |
3376 | | std::basic_string<CharT>, |
3377 | | std::string>> |
3378 | 196 | { |
3379 | 196 | std::basic_string<CharT> output; |
3380 | 196 | std::string thsep_indices; |
3381 | 196 | auto it = range.begin(); |
3382 | 196 | bool digit_matched = false; |
3383 | 196 | for (; it != range.end(); ++it) { |
3384 | 196 | if (*it == locale_options.thousands_sep) { |
3385 | 0 | thsep_indices.push_back( |
3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); |
3387 | 0 | } |
3388 | 196 | else if (char_to_int(*it) >= base) { |
3389 | 196 | break; |
3390 | 196 | } |
3391 | 0 | else { |
3392 | 0 | output.push_back(*it); |
3393 | 0 | digit_matched = true; |
3394 | 0 | } |
3395 | 196 | } |
3396 | 196 | if (SCN_UNLIKELY(!digit_matched)) { |
3397 | 196 | return unexpected_scan_error( |
3398 | 196 | scan_error::invalid_scanned_value, |
3399 | 196 | "Failed to parse integer: No digits found"); |
3400 | 196 | } |
3401 | 0 | return std::tuple{it, output, thsep_indices}; |
3402 | 196 | } Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3378 | 20 | { | 3379 | 20 | std::basic_string<CharT> output; | 3380 | 20 | std::string thsep_indices; | 3381 | 20 | auto it = range.begin(); | 3382 | 20 | bool digit_matched = false; | 3383 | 20 | for (; it != range.end(); ++it) { | 3384 | 20 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 20 | else if (char_to_int(*it) >= base) { | 3389 | 20 | break; | 3390 | 20 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 20 | } | 3396 | 20 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 20 | return unexpected_scan_error( | 3398 | 20 | scan_error::invalid_scanned_value, | 3399 | 20 | "Failed to parse integer: No digits found"); | 3400 | 20 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 20 | } |
_ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3378 | 84 | { | 3379 | 84 | std::basic_string<CharT> output; | 3380 | 84 | std::string thsep_indices; | 3381 | 84 | auto it = range.begin(); | 3382 | 84 | bool digit_matched = false; | 3383 | 84 | for (; it != range.end(); ++it) { | 3384 | 84 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 84 | else if (char_to_int(*it) >= base) { | 3389 | 84 | break; | 3390 | 84 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 84 | } | 3396 | 84 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 84 | return unexpected_scan_error( | 3398 | 84 | scan_error::invalid_scanned_value, | 3399 | 84 | "Failed to parse integer: No digits found"); | 3400 | 84 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 84 | } |
Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3378 | 40 | { | 3379 | 40 | std::basic_string<CharT> output; | 3380 | 40 | std::string thsep_indices; | 3381 | 40 | auto it = range.begin(); | 3382 | 40 | bool digit_matched = false; | 3383 | 40 | for (; it != range.end(); ++it) { | 3384 | 40 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 40 | else if (char_to_int(*it) >= base) { | 3389 | 40 | break; | 3390 | 40 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 40 | } | 3396 | 40 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 40 | return unexpected_scan_error( | 3398 | 40 | scan_error::invalid_scanned_value, | 3399 | 40 | "Failed to parse integer: No digits found"); | 3400 | 40 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 40 | } |
_ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3378 | 52 | { | 3379 | 52 | std::basic_string<CharT> output; | 3380 | 52 | std::string thsep_indices; | 3381 | 52 | auto it = range.begin(); | 3382 | 52 | bool digit_matched = false; | 3383 | 52 | for (; it != range.end(); ++it) { | 3384 | 52 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 52 | else if (char_to_int(*it) >= base) { | 3389 | 52 | break; | 3390 | 52 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 52 | } | 3396 | 52 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 52 | return unexpected_scan_error( | 3398 | 52 | scan_error::invalid_scanned_value, | 3399 | 52 | "Failed to parse integer: No digits found"); | 3400 | 52 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 52 | } |
|
3403 | | |
3404 | | template <typename CharT, typename T> |
3405 | | auto parse_integer_value(std::basic_string_view<CharT> source, |
3406 | | T& value, |
3407 | | sign_type sign, |
3408 | | int base) |
3409 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; |
3410 | | |
3411 | | template <typename T> |
3412 | | void parse_integer_value_exhaustive_valid(std::string_view source, T& value); |
3413 | | |
3414 | | #define SCN_DECLARE_INTEGER_READER_TEMPLATE(CharT, IntT) \ |
3415 | | extern template auto parse_integer_value( \ |
3416 | | std::basic_string_view<CharT> source, IntT& value, sign_type sign, \ |
3417 | | int base) \ |
3418 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; \ |
3419 | | extern template void parse_integer_value_exhaustive_valid( \ |
3420 | | std::string_view, IntT&); |
3421 | | |
3422 | | #if !SCN_DISABLE_TYPE_SCHAR |
3423 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, signed char) |
3424 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, signed char) |
3425 | | #endif |
3426 | | #if !SCN_DISABLE_TYPE_SHORT |
3427 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, short) |
3428 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, short) |
3429 | | #endif |
3430 | | #if !SCN_DISABLE_TYPE_INT |
3431 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, int) |
3432 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, int) |
3433 | | #endif |
3434 | | #if !SCN_DISABLE_TYPE_LONG |
3435 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long) |
3436 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long) |
3437 | | #endif |
3438 | | #if !SCN_DISABLE_TYPE_LONG_LONG |
3439 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long long) |
3440 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long long) |
3441 | | #endif |
3442 | | #if !SCN_DISABLE_TYPE_UCHAR |
3443 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned char) |
3444 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned char) |
3445 | | #endif |
3446 | | #if !SCN_DISABLE_TYPE_USHORT |
3447 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned short) |
3448 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned short) |
3449 | | #endif |
3450 | | #if !SCN_DISABLE_TYPE_UINT |
3451 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned int) |
3452 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned int) |
3453 | | #endif |
3454 | | #if !SCN_DISABLE_TYPE_ULONG |
3455 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long) |
3456 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long) |
3457 | | #endif |
3458 | | #if !SCN_DISABLE_TYPE_ULONG_LONG |
3459 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long long) |
3460 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long long) |
3461 | | #endif |
3462 | | |
3463 | | #undef SCN_DECLARE_INTEGER_READER_TEMPLATE |
3464 | | |
3465 | | template <typename CharT> |
3466 | | class reader_impl_for_int |
3467 | | : public reader_base<reader_impl_for_int<CharT>, CharT> { |
3468 | | public: |
3469 | | constexpr reader_impl_for_int() = default; |
3470 | | |
3471 | | void check_specs_impl(const detail::format_specs& specs, |
3472 | | reader_error_handler& eh) |
3473 | 39.1k | { |
3474 | 39.1k | detail::check_int_type_specs(specs, eh); |
3475 | 39.1k | } scn::v3::impl::reader_impl_for_int<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 3473 | 28.2k | { | 3474 | 28.2k | detail::check_int_type_specs(specs, eh); | 3475 | 28.2k | } |
scn::v3::impl::reader_impl_for_int<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 3473 | 10.8k | { | 3474 | 10.8k | detail::check_int_type_specs(specs, eh); | 3475 | 10.8k | } |
|
3476 | | |
3477 | | template <typename Range, typename T> |
3478 | | auto read_default_with_base(Range range, T& value, int base) |
3479 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3480 | 2.53k | { |
3481 | 2.53k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) |
3482 | 2.53k | .transform_error(make_eof_scan_error)); |
3483 | | |
3484 | 2.53k | if constexpr (!std::is_signed_v<T>) { |
3485 | 1.26k | if (prefix_result.sign == sign_type::minus_sign) { |
3486 | 0 | return unexpected_scan_error( |
3487 | 0 | scan_error::invalid_scanned_value, |
3488 | 0 | "Unexpected '-' sign when parsing an " |
3489 | 0 | "unsigned value"); |
3490 | 0 | } |
3491 | 1.26k | } |
3492 | | |
3493 | 2.53k | if (prefix_result.is_zero) { |
3494 | 0 | value = T{0}; |
3495 | 0 | return std::next(prefix_result.iterator); |
3496 | 0 | } |
3497 | | |
3498 | 5.07k | SCN_TRY(after_digits_it, |
3499 | 5.07k | parse_integer_digits_without_thsep( |
3500 | 5.07k | ranges::subrange{prefix_result.iterator, range.end()}, |
3501 | 5.07k | prefix_result.parsed_base)); |
3502 | | |
3503 | 5.07k | auto buf = make_contiguous_buffer( |
3504 | 5.07k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3505 | 5.07k | SCN_TRY(result_it, |
3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3507 | 0 | prefix_result.parsed_base)); |
3508 | |
|
3509 | 0 | return ranges::next(prefix_result.iterator, |
3510 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3511 | 5.07k | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 612 | { | 3481 | 612 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 612 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | | if constexpr (!std::is_signed_v<T>) { | 3485 | | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | | return unexpected_scan_error( | 3487 | | scan_error::invalid_scanned_value, | 3488 | | "Unexpected '-' sign when parsing an " | 3489 | | "unsigned value"); | 3490 | | } | 3491 | | } | 3492 | | | 3493 | 612 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.22k | SCN_TRY(after_digits_it, | 3499 | 1.22k | parse_integer_digits_without_thsep( | 3500 | 1.22k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.22k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.22k | auto buf = make_contiguous_buffer( | 3504 | 1.22k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.22k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.22k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 612 | { | 3481 | 612 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 612 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | 612 | if constexpr (!std::is_signed_v<T>) { | 3485 | 612 | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | 0 | return unexpected_scan_error( | 3487 | 0 | scan_error::invalid_scanned_value, | 3488 | 0 | "Unexpected '-' sign when parsing an " | 3489 | 0 | "unsigned value"); | 3490 | 0 | } | 3491 | 612 | } | 3492 | | | 3493 | 612 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.22k | SCN_TRY(after_digits_it, | 3499 | 1.22k | parse_integer_digits_without_thsep( | 3500 | 1.22k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.22k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.22k | auto buf = make_contiguous_buffer( | 3504 | 1.22k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.22k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.22k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 656 | { | 3481 | 656 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 656 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | | if constexpr (!std::is_signed_v<T>) { | 3485 | | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | | return unexpected_scan_error( | 3487 | | scan_error::invalid_scanned_value, | 3488 | | "Unexpected '-' sign when parsing an " | 3489 | | "unsigned value"); | 3490 | | } | 3491 | | } | 3492 | | | 3493 | 656 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.31k | SCN_TRY(after_digits_it, | 3499 | 1.31k | parse_integer_digits_without_thsep( | 3500 | 1.31k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.31k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.31k | auto buf = make_contiguous_buffer( | 3504 | 1.31k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.31k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.31k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 656 | { | 3481 | 656 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 656 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | 656 | if constexpr (!std::is_signed_v<T>) { | 3485 | 656 | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | 0 | return unexpected_scan_error( | 3487 | 0 | scan_error::invalid_scanned_value, | 3488 | 0 | "Unexpected '-' sign when parsing an " | 3489 | 0 | "unsigned value"); | 3490 | 0 | } | 3491 | 656 | } | 3492 | | | 3493 | 656 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.31k | SCN_TRY(after_digits_it, | 3499 | 1.31k | parse_integer_digits_without_thsep( | 3500 | 1.31k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.31k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.31k | auto buf = make_contiguous_buffer( | 3504 | 1.31k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.31k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.31k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i |
3512 | | |
3513 | | template <typename Range, typename T> |
3514 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
3515 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3516 | 2.53k | { |
3517 | 2.53k | SCN_UNUSED(loc); |
3518 | 2.53k | return read_default_with_base(range, value, 10); |
3519 | 2.53k | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 656 | { | 3517 | 656 | SCN_UNUSED(loc); | 3518 | 656 | return read_default_with_base(range, value, 10); | 3519 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 656 | { | 3517 | 656 | SCN_UNUSED(loc); | 3518 | 656 | return read_default_with_base(range, value, 10); | 3519 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 612 | { | 3517 | 612 | SCN_UNUSED(loc); | 3518 | 612 | return read_default_with_base(range, value, 10); | 3519 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 612 | { | 3517 | 612 | SCN_UNUSED(loc); | 3518 | 612 | return read_default_with_base(range, value, 10); | 3519 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
3520 | | |
3521 | | template <typename Range, typename T> |
3522 | | auto read_specs(Range range, |
3523 | | const detail::format_specs& specs, |
3524 | | T& value, |
3525 | | detail::locale_ref loc) |
3526 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3527 | 4.77k | { |
3528 | 4.77k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) |
3529 | 4.77k | .transform_error(make_eof_scan_error)); |
3530 | | |
3531 | 4.77k | if (prefix_result.sign == sign_type::minus_sign) { |
3532 | 0 | if constexpr (!std::is_signed_v<T>) { |
3533 | 0 | return unexpected_scan_error( |
3534 | 0 | scan_error::invalid_scanned_value, |
3535 | 0 | "Unexpected '-' sign when parsing an " |
3536 | 0 | "unsigned value"); |
3537 | | } |
3538 | 0 | else { |
3539 | 0 | if (specs.type == |
3540 | 0 | detail::presentation_type::int_unsigned_decimal) { |
3541 | 0 | return unexpected_scan_error( |
3542 | 0 | scan_error::invalid_scanned_value, |
3543 | 0 | "'u'-option disallows negative values"); |
3544 | 0 | } |
3545 | 0 | } |
3546 | 0 | } |
3547 | | |
3548 | 4.77k | if (prefix_result.is_zero) { |
3549 | 0 | value = T{0}; |
3550 | 0 | return std::next(prefix_result.iterator); |
3551 | 0 | } |
3552 | | |
3553 | 4.77k | if (SCN_LIKELY(!specs.localized)) { |
3554 | 4.57k | SCN_TRY(after_digits_it, |
3555 | 3.17k | parse_integer_digits_without_thsep( |
3556 | 3.17k | ranges::subrange{prefix_result.iterator, range.end()}, |
3557 | 3.17k | prefix_result.parsed_base)); |
3558 | | |
3559 | 3.17k | auto buf = make_contiguous_buffer( |
3560 | 3.17k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3561 | 3.17k | SCN_TRY(result_it, |
3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3563 | 0 | prefix_result.parsed_base)); |
3564 | |
|
3565 | 0 | return ranges::next( |
3566 | 0 | prefix_result.iterator, |
3567 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3568 | 3.17k | } |
3569 | | |
3570 | 196 | auto locale_options = |
3571 | | #if SCN_DISABLE_LOCALE |
3572 | | localized_number_formatting_options<CharT>{}; |
3573 | | #else |
3574 | 196 | localized_number_formatting_options<CharT>{loc}; |
3575 | 196 | #endif |
3576 | | |
3577 | 196 | SCN_TRY(parse_digits_result, |
3578 | 0 | parse_integer_digits_with_thsep( |
3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, |
3580 | 0 | prefix_result.parsed_base, locale_options)); |
3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = |
3582 | 0 | parse_digits_result; |
3583 | |
|
3584 | 0 | if (!thsep_indices.empty()) { |
3585 | 0 | if (auto e = check_thsep_grouping( |
3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, |
3587 | 0 | thsep_indices, locale_options.grouping); |
3588 | 0 | SCN_UNLIKELY(!e)) { |
3589 | 0 | return unexpected(e); |
3590 | 0 | } |
3591 | 0 | } |
3592 | | |
3593 | 0 | auto nothsep_source_view = |
3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; |
3595 | 0 | SCN_TRY( |
3596 | 0 | nothsep_source_it, |
3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, |
3598 | 0 | prefix_result.parsed_base)); |
3599 | |
|
3600 | 0 | return ranges::next( |
3601 | 0 | prefix_result.iterator, |
3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + |
3603 | 0 | ranges::ssize(thsep_indices)); |
3604 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 32 | { | 3528 | 32 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 32 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 32 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 32 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 32 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 32 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 22 | { | 3528 | 22 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 22 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 22 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 22 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 22 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 22 | SCN_TRY(after_digits_it, | 3555 | 22 | parse_integer_digits_without_thsep( | 3556 | 22 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 22 | prefix_result.parsed_base)); | 3558 | | | 3559 | 22 | auto buf = make_contiguous_buffer( | 3560 | 22 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 22 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 22 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 296 | { | 3528 | 296 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 296 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 296 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 296 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 296 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 286 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 10 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 10 | localized_number_formatting_options<CharT>{loc}; | 3575 | 10 | #endif | 3576 | | | 3577 | 10 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 314 | { | 3528 | 314 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 314 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 314 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 314 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 314 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 272 | SCN_TRY(after_digits_it, | 3555 | 272 | parse_integer_digits_without_thsep( | 3556 | 272 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 272 | prefix_result.parsed_base)); | 3558 | | | 3559 | 272 | auto buf = make_contiguous_buffer( | 3560 | 272 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 272 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 272 | } | 3569 | | | 3570 | 42 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 42 | localized_number_formatting_options<CharT>{loc}; | 3575 | 42 | #endif | 3576 | | | 3577 | 42 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 296 | { | 3528 | 296 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 296 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 296 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 296 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 296 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 286 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 10 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 10 | localized_number_formatting_options<CharT>{loc}; | 3575 | 10 | #endif | 3576 | | | 3577 | 10 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 314 | { | 3528 | 314 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 314 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 314 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 314 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 314 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 272 | SCN_TRY(after_digits_it, | 3555 | 272 | parse_integer_digits_without_thsep( | 3556 | 272 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 272 | prefix_result.parsed_base)); | 3558 | | | 3559 | 272 | auto buf = make_contiguous_buffer( | 3560 | 272 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 272 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 272 | } | 3569 | | | 3570 | 42 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 42 | localized_number_formatting_options<CharT>{loc}; | 3575 | 42 | #endif | 3576 | | | 3577 | 42 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 264 | { | 3528 | 264 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 264 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 264 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 264 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 264 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 264 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 910 | { | 3528 | 910 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 910 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 910 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 910 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 910 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 910 | SCN_TRY(after_digits_it, | 3555 | 910 | parse_integer_digits_without_thsep( | 3556 | 910 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 910 | prefix_result.parsed_base)); | 3558 | | | 3559 | 910 | auto buf = make_contiguous_buffer( | 3560 | 910 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 910 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 910 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 218 | { | 3528 | 218 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 218 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 218 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 218 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 218 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 198 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 20 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 20 | localized_number_formatting_options<CharT>{loc}; | 3575 | 20 | #endif | 3576 | | | 3577 | 20 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 406 | { | 3528 | 406 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 406 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 406 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 406 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 406 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 380 | SCN_TRY(after_digits_it, | 3555 | 380 | parse_integer_digits_without_thsep( | 3556 | 380 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 380 | prefix_result.parsed_base)); | 3558 | | | 3559 | 380 | auto buf = make_contiguous_buffer( | 3560 | 380 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 380 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 380 | } | 3569 | | | 3570 | 26 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 26 | localized_number_formatting_options<CharT>{loc}; | 3575 | 26 | #endif | 3576 | | | 3577 | 26 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 198 | { | 3528 | 198 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 198 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 198 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 198 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 198 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 178 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 20 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 20 | localized_number_formatting_options<CharT>{loc}; | 3575 | 20 | #endif | 3576 | | | 3577 | 20 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 386 | { | 3528 | 386 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 386 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 386 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 386 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 386 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 360 | SCN_TRY(after_digits_it, | 3555 | 360 | parse_integer_digits_without_thsep( | 3556 | 360 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 360 | prefix_result.parsed_base)); | 3558 | | | 3559 | 360 | auto buf = make_contiguous_buffer( | 3560 | 360 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 360 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 360 | } | 3569 | | | 3570 | 26 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 26 | localized_number_formatting_options<CharT>{loc}; | 3575 | 26 | #endif | 3576 | | | 3577 | 26 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 160 | { | 3528 | 160 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 160 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 160 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 160 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 160 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 160 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 956 | { | 3528 | 956 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 956 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 956 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 956 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 956 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 956 | SCN_TRY(after_digits_it, | 3555 | 956 | parse_integer_digits_without_thsep( | 3556 | 956 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 956 | prefix_result.parsed_base)); | 3558 | | | 3559 | 956 | auto buf = make_contiguous_buffer( | 3560 | 956 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 956 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 956 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
3605 | | }; |
3606 | | |
3607 | | ///////////////////////////////////////////////////////////////// |
3608 | | // Floating-point reader |
3609 | | ///////////////////////////////////////////////////////////////// |
3610 | | |
3611 | | struct float_reader_base { |
3612 | | enum options_type { |
3613 | | allow_hex = 1, |
3614 | | allow_scientific = 2, |
3615 | | allow_fixed = 4, |
3616 | | allow_thsep = 8 |
3617 | | }; |
3618 | | |
3619 | | enum class float_kind { |
3620 | | tbd = 0, |
3621 | | generic, // fixed or scientific |
3622 | | fixed, // xxx.yyy |
3623 | | scientific, // xxx.yyyEzzz |
3624 | | hex_without_prefix, // xxx.yyypzzz |
3625 | | hex_with_prefix, // 0Xxxx.yyypzzz |
3626 | | inf_short, // inf |
3627 | | inf_long, // infinity |
3628 | | nan_simple, // nan |
3629 | | nan_with_payload, // nan(xxx) |
3630 | | }; |
3631 | | |
3632 | 1.26k | constexpr float_reader_base() = default; |
3633 | 1.13k | explicit constexpr float_reader_base(unsigned opt) : m_options(opt) {} |
3634 | | |
3635 | | protected: |
3636 | | unsigned m_options{allow_hex | allow_scientific | allow_fixed}; |
3637 | | }; |
3638 | | |
3639 | | template <typename CharT> |
3640 | | class float_reader : public numeric_reader<CharT>, public float_reader_base { |
3641 | | using numeric_base = numeric_reader<CharT>; |
3642 | | |
3643 | | public: |
3644 | | using char_type = CharT; |
3645 | | |
3646 | 1.26k | constexpr float_reader() = default; scn::v3::impl::float_reader<char>::float_reader() Line | Count | Source | 3646 | 656 | constexpr float_reader() = default; |
scn::v3::impl::float_reader<wchar_t>::float_reader() Line | Count | Source | 3646 | 612 | constexpr float_reader() = default; |
|
3647 | | |
3648 | 1.13k | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {}scn::v3::impl::float_reader<char>::float_reader(unsigned int) Line | Count | Source | 3648 | 582 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
scn::v3::impl::float_reader<wchar_t>::float_reader(unsigned int) Line | Count | Source | 3648 | 556 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
|
3649 | | |
3650 | | template <typename Range> |
3651 | | SCN_NODISCARD auto read_source(Range range, detail::locale_ref) |
3652 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3653 | 2.36k | { |
3654 | 2.36k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { |
3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ |
3656 | 0 | classic_with_thsep_tag{}}; |
3657 | 0 | } |
3658 | | |
3659 | 2.36k | return read_source_impl(range); |
3660 | 2.36k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3653 | 284 | { | 3654 | 284 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 284 | return read_source_impl(range); | 3660 | 284 | } |
_ZN3scn2v34impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3653 | 936 | { | 3654 | 936 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 936 | return read_source_impl(range); | 3660 | 936 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3653 | 172 | { | 3654 | 172 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 172 | return read_source_impl(range); | 3660 | 172 | } |
_ZN3scn2v34impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3653 | 968 | { | 3654 | 968 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 968 | return read_source_impl(range); | 3660 | 968 | } |
|
3661 | | |
3662 | | #if !SCN_DISABLE_LOCALE |
3663 | | template <typename Range> |
3664 | | SCN_NODISCARD auto read_source_localized(Range range, |
3665 | | detail::locale_ref loc) |
3666 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3667 | 46 | { |
3668 | 46 | m_locale_options = localized_number_formatting_options<CharT>{loc}; |
3669 | 46 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { |
3670 | 0 | m_locale_options.thousands_sep = CharT{0}; |
3671 | 0 | } |
3672 | | |
3673 | 46 | return read_source_impl(range); |
3674 | 46 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3667 | 8 | { | 3668 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 8 | return read_source_impl(range); | 3674 | 8 | } |
_ZN3scn2v34impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3667 | 10 | { | 3668 | 10 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 10 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 10 | return read_source_impl(range); | 3674 | 10 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3667 | 10 | { | 3668 | 10 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 10 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 10 | return read_source_impl(range); | 3674 | 10 | } |
_ZN3scn2v34impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3667 | 18 | { | 3668 | 18 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 18 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 18 | return read_source_impl(range); | 3674 | 18 | } |
|
3675 | | #endif |
3676 | | |
3677 | | template <typename T> |
3678 | | SCN_NODISCARD scan_expected<std::ptrdiff_t> parse_value(T& value) |
3679 | 1.89k | { |
3680 | 1.89k | SCN_EXPECT(m_kind != float_kind::tbd); |
3681 | | |
3682 | 1.89k | const std::ptrdiff_t sign_len = |
3683 | 1.89k | m_sign != sign_type::default_sign ? 1 : 0; |
3684 | | |
3685 | 1.89k | SCN_TRY(n, parse_value_impl(value)); |
3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); |
3687 | 1.89k | } Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<float>(float&) scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<double>(double&) Line | Count | Source | 3679 | 920 | { | 3680 | 920 | SCN_EXPECT(m_kind != float_kind::tbd); | 3681 | | | 3682 | 920 | const std::ptrdiff_t sign_len = | 3683 | 920 | m_sign != sign_type::default_sign ? 1 : 0; | 3684 | | | 3685 | 920 | SCN_TRY(n, parse_value_impl(value)); | 3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3687 | 920 | } |
Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<float>(float&) scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<double>(double&) Line | Count | Source | 3679 | 978 | { | 3680 | 978 | SCN_EXPECT(m_kind != float_kind::tbd); | 3681 | | | 3682 | 978 | const std::ptrdiff_t sign_len = | 3683 | 978 | m_sign != sign_type::default_sign ? 1 : 0; | 3684 | | | 3685 | 978 | SCN_TRY(n, parse_value_impl(value)); | 3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3687 | 978 | } |
Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<long double>(long double&) |
3688 | | |
3689 | | private: |
3690 | | template <typename Range> |
3691 | | auto read_source_impl(Range range) |
3692 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3693 | 2.40k | { |
3694 | 2.40k | SCN_TRY(sign_result, |
3695 | 2.40k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); |
3696 | 2.40k | auto it = sign_result.first; |
3697 | 2.40k | m_sign = sign_result.second; |
3698 | | |
3699 | 2.40k | auto digits_begin = it; |
3700 | 2.40k | auto r = ranges::subrange{it, range.end()}; |
3701 | | if constexpr (ranges::contiguous_range<Range> && |
3702 | 1.93k | ranges::sized_range<Range>) { |
3703 | 1.93k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || |
3704 | 1.93k | m_locale_options.decimal_point != CharT{'.'})) { |
3705 | 0 | SCN_TRY_ASSIGN( |
3706 | 0 | it, |
3707 | 0 | do_read_source_impl( |
3708 | 0 | r, |
3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, |
3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3711 | 0 | } |
3712 | 1.93k | else { |
3713 | 1.93k | auto cb = [&](const auto& rr) |
3714 | 1.93k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { |
3715 | 1.89k | auto res = read_all(rr); |
3716 | 1.89k | if (SCN_UNLIKELY(res == r.begin())) { |
3717 | 0 | return unexpected_scan_error( |
3718 | 0 | scan_error::invalid_scanned_value, |
3719 | 0 | "Invalid float value"); |
3720 | 0 | } |
3721 | 1.89k | return res; |
3722 | 1.89k | }; _ZZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3714 | 920 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 920 | auto res = read_all(rr); | 3716 | 920 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 0 | return unexpected_scan_error( | 3718 | 0 | scan_error::invalid_scanned_value, | 3719 | 0 | "Invalid float value"); | 3720 | 0 | } | 3721 | 920 | return res; | 3722 | 920 | }; |
_ZZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3714 | 978 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 978 | auto res = read_all(rr); | 3716 | 978 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 0 | return unexpected_scan_error( | 3718 | 0 | scan_error::invalid_scanned_value, | 3719 | 0 | "Invalid float value"); | 3720 | 0 | } | 3721 | 978 | return res; | 3722 | 978 | }; |
|
3723 | 1.93k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); |
3724 | 1.89k | } |
3725 | | } |
3726 | 474 | else { |
3727 | 474 | SCN_TRY_ASSIGN( |
3728 | 0 | it, |
3729 | 0 | do_read_source_impl( |
3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, |
3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3732 | 0 | } |
3733 | | |
3734 | 2.40k | SCN_EXPECT(m_kind != float_kind::tbd); |
3735 | | |
3736 | 1.89k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && |
3737 | 1.89k | m_kind != float_kind::nan_simple && |
3738 | 1.89k | m_kind != float_kind::nan_with_payload) { |
3739 | 1.89k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); |
3740 | 1.89k | } |
3741 | | |
3742 | 1.89k | handle_separators(); |
3743 | | |
3744 | 1.89k | if (!m_thsep_indices.empty()) { |
3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); |
3746 | 0 | if (auto e = check_thsep_grouping( |
3747 | 0 | ranges::subrange{ |
3748 | 0 | digits_begin, |
3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, |
3750 | 0 | m_thsep_indices, m_locale_options.grouping); |
3751 | 0 | SCN_UNLIKELY(!e)) { |
3752 | 0 | return unexpected(e); |
3753 | 0 | } |
3754 | 0 | } |
3755 | | |
3756 | 1.89k | return it; |
3757 | 1.89k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3693 | 292 | { | 3694 | 292 | SCN_TRY(sign_result, | 3695 | 292 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 292 | auto it = sign_result.first; | 3697 | 292 | m_sign = sign_result.second; | 3698 | | | 3699 | 292 | auto digits_begin = it; | 3700 | 292 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | | ranges::sized_range<Range>) { | 3703 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | | SCN_TRY_ASSIGN( | 3706 | | it, | 3707 | | do_read_source_impl( | 3708 | | r, | 3709 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | | } | 3712 | | else { | 3713 | | auto cb = [&](const auto& rr) | 3714 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | | auto res = read_all(rr); | 3716 | | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | | return unexpected_scan_error( | 3718 | | scan_error::invalid_scanned_value, | 3719 | | "Invalid float value"); | 3720 | | } | 3721 | | return res; | 3722 | | }; | 3723 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | | } | 3725 | | } | 3726 | 292 | else { | 3727 | 292 | SCN_TRY_ASSIGN( | 3728 | 0 | it, | 3729 | 0 | do_read_source_impl( | 3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | 0 | } | 3733 | | | 3734 | 292 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 0 | m_kind != float_kind::nan_simple && | 3738 | 0 | m_kind != float_kind::nan_with_payload) { | 3739 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 0 | } | 3741 | |
| 3742 | 0 | handle_separators(); | 3743 | |
| 3744 | 0 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 0 | return it; | 3757 | 0 | } |
_ZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3693 | 946 | { | 3694 | 946 | SCN_TRY(sign_result, | 3695 | 946 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 946 | auto it = sign_result.first; | 3697 | 946 | m_sign = sign_result.second; | 3698 | | | 3699 | 946 | auto digits_begin = it; | 3700 | 946 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | 946 | ranges::sized_range<Range>) { | 3703 | 946 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | 946 | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | 0 | SCN_TRY_ASSIGN( | 3706 | 0 | it, | 3707 | 0 | do_read_source_impl( | 3708 | 0 | r, | 3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | 0 | } | 3712 | 946 | else { | 3713 | 946 | auto cb = [&](const auto& rr) | 3714 | 946 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 946 | auto res = read_all(rr); | 3716 | 946 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 946 | return unexpected_scan_error( | 3718 | 946 | scan_error::invalid_scanned_value, | 3719 | 946 | "Invalid float value"); | 3720 | 946 | } | 3721 | 946 | return res; | 3722 | 946 | }; | 3723 | 946 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | 920 | } | 3725 | | } | 3726 | | else { | 3727 | | SCN_TRY_ASSIGN( | 3728 | | it, | 3729 | | do_read_source_impl( | 3730 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | | } | 3733 | | | 3734 | 946 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 920 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 920 | m_kind != float_kind::nan_simple && | 3738 | 920 | m_kind != float_kind::nan_with_payload) { | 3739 | 920 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 920 | } | 3741 | | | 3742 | 920 | handle_separators(); | 3743 | | | 3744 | 920 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 920 | return it; | 3757 | 920 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3693 | 182 | { | 3694 | 182 | SCN_TRY(sign_result, | 3695 | 182 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 182 | auto it = sign_result.first; | 3697 | 182 | m_sign = sign_result.second; | 3698 | | | 3699 | 182 | auto digits_begin = it; | 3700 | 182 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | | ranges::sized_range<Range>) { | 3703 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | | SCN_TRY_ASSIGN( | 3706 | | it, | 3707 | | do_read_source_impl( | 3708 | | r, | 3709 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | | } | 3712 | | else { | 3713 | | auto cb = [&](const auto& rr) | 3714 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | | auto res = read_all(rr); | 3716 | | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | | return unexpected_scan_error( | 3718 | | scan_error::invalid_scanned_value, | 3719 | | "Invalid float value"); | 3720 | | } | 3721 | | return res; | 3722 | | }; | 3723 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | | } | 3725 | | } | 3726 | 182 | else { | 3727 | 182 | SCN_TRY_ASSIGN( | 3728 | 0 | it, | 3729 | 0 | do_read_source_impl( | 3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | 0 | } | 3733 | | | 3734 | 182 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 0 | m_kind != float_kind::nan_simple && | 3738 | 0 | m_kind != float_kind::nan_with_payload) { | 3739 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 0 | } | 3741 | |
| 3742 | 0 | handle_separators(); | 3743 | |
| 3744 | 0 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 0 | return it; | 3757 | 0 | } |
_ZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3693 | 986 | { | 3694 | 986 | SCN_TRY(sign_result, | 3695 | 986 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 986 | auto it = sign_result.first; | 3697 | 986 | m_sign = sign_result.second; | 3698 | | | 3699 | 986 | auto digits_begin = it; | 3700 | 986 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | 986 | ranges::sized_range<Range>) { | 3703 | 986 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | 986 | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | 0 | SCN_TRY_ASSIGN( | 3706 | 0 | it, | 3707 | 0 | do_read_source_impl( | 3708 | 0 | r, | 3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | 0 | } | 3712 | 986 | else { | 3713 | 986 | auto cb = [&](const auto& rr) | 3714 | 986 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 986 | auto res = read_all(rr); | 3716 | 986 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 986 | return unexpected_scan_error( | 3718 | 986 | scan_error::invalid_scanned_value, | 3719 | 986 | "Invalid float value"); | 3720 | 986 | } | 3721 | 986 | return res; | 3722 | 986 | }; | 3723 | 986 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | 978 | } | 3725 | | } | 3726 | | else { | 3727 | | SCN_TRY_ASSIGN( | 3728 | | it, | 3729 | | do_read_source_impl( | 3730 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | | } | 3733 | | | 3734 | 986 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 978 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 978 | m_kind != float_kind::nan_simple && | 3738 | 978 | m_kind != float_kind::nan_with_payload) { | 3739 | 978 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 978 | } | 3741 | | | 3742 | 978 | handle_separators(); | 3743 | | | 3744 | 978 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 978 | return it; | 3757 | 978 | } |
|
3758 | | |
3759 | | template <typename Range> |
3760 | | auto read_dec_digits(Range range, bool thsep_allowed) |
3761 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3762 | 498 | { |
3763 | 498 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3764 | 498 | thsep_allowed)) { |
3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3766 | 0 | return char_to_int(ch) < 10 || |
3767 | 0 | ch == m_locale_options.thousands_sep; |
3768 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3769 | 0 | } |
3770 | | |
3771 | 498 | return read_while1_code_unit( |
3772 | 498 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3772 | 288 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Line | Count | Source | 3772 | 26 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3772 | 176 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw Line | Count | Source | 3772 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
|
3773 | 498 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3762 | 288 | { | 3763 | 288 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 288 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 288 | return read_while1_code_unit( | 3772 | 288 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 288 | } |
_ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3762 | 26 | { | 3763 | 26 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 26 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 26 | return read_while1_code_unit( | 3772 | 26 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 26 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3762 | 176 | { | 3763 | 176 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 176 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 176 | return read_while1_code_unit( | 3772 | 176 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 176 | } |
_ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3762 | 8 | { | 3763 | 8 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 8 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 8 | return read_while1_code_unit( | 3772 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 8 | } |
|
3774 | | template <typename Range> |
3775 | | auto read_hex_digits(Range range, bool thsep_allowed) |
3776 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3777 | 10 | { |
3778 | 10 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3779 | 10 | thsep_allowed)) { |
3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3781 | 0 | return char_to_int(ch) < 16 || |
3782 | 0 | ch == m_locale_options.thousands_sep; |
3783 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3784 | 0 | } |
3785 | | |
3786 | 10 | return read_while1_code_unit( |
3787 | 10 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3787 | 4 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3787 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw |
3788 | 10 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3777 | 4 | { | 3778 | 4 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3779 | 4 | thsep_allowed)) { | 3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3781 | 0 | return char_to_int(ch) < 16 || | 3782 | 0 | ch == m_locale_options.thousands_sep; | 3783 | 0 | }); | 3784 | 0 | } | 3785 | | | 3786 | 4 | return read_while1_code_unit( | 3787 | 4 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3788 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3777 | 6 | { | 3778 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3779 | 6 | thsep_allowed)) { | 3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3781 | 0 | return char_to_int(ch) < 16 || | 3782 | 0 | ch == m_locale_options.thousands_sep; | 3783 | 0 | }); | 3784 | 0 | } | 3785 | | | 3786 | 6 | return read_while1_code_unit( | 3787 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3788 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b |
3789 | | template <typename Range> |
3790 | | auto read_hex_prefix(Range range) |
3791 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3792 | 2.34k | { |
3793 | 2.34k | return read_matching_string_classic_nocase(range, "0x"); |
3794 | 2.34k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3792 | 274 | { | 3793 | 274 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 274 | } |
_ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3792 | 920 | { | 3793 | 920 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 920 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3792 | 174 | { | 3793 | 174 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 174 | } |
_ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3792 | 978 | { | 3793 | 978 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 978 | } |
|
3795 | | |
3796 | | template <typename Range> |
3797 | | auto read_inf(Range range) |
3798 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3799 | 2.40k | { |
3800 | 2.40k | auto it = range.begin(); |
3801 | 2.40k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { |
3802 | 2.40k | return unexpected(r.error()); |
3803 | 2.40k | } |
3804 | 0 | else { |
3805 | 0 | it = *r; |
3806 | 0 | } |
3807 | | |
3808 | 0 | if (auto r = read_matching_string_classic_nocase( |
3809 | 0 | ranges::subrange{it, range.end()}, "inity"); |
3810 | 0 | !r) { |
3811 | 0 | m_kind = float_kind::inf_short; |
3812 | 0 | return it; |
3813 | 0 | } |
3814 | 0 | else { |
3815 | 0 | m_kind = float_kind::inf_long; |
3816 | 0 | return *r; |
3817 | 0 | } |
3818 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3799 | 292 | { | 3800 | 292 | auto it = range.begin(); | 3801 | 292 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 292 | return unexpected(r.error()); | 3803 | 292 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
_ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3799 | 946 | { | 3800 | 946 | auto it = range.begin(); | 3801 | 946 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 946 | return unexpected(r.error()); | 3803 | 946 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3799 | 182 | { | 3800 | 182 | auto it = range.begin(); | 3801 | 182 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 182 | return unexpected(r.error()); | 3803 | 182 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
_ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3799 | 986 | { | 3800 | 986 | auto it = range.begin(); | 3801 | 986 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 986 | return unexpected(r.error()); | 3803 | 986 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
|
3819 | | |
3820 | | template <typename Range> |
3821 | | auto read_nan(Range range) -> scan_expected<ranges::const_iterator_t<Range>> |
3822 | 2.40k | { |
3823 | 2.40k | auto it = range.begin(); |
3824 | 2.40k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { |
3825 | 2.40k | return r.transform_error(map_parse_error_to_scan_error( |
3826 | 2.40k | scan_error::invalid_scanned_value, |
3827 | 2.40k | "Invalid floating-point NaN value")); |
3828 | 2.40k | } |
3829 | 0 | else { |
3830 | 0 | it = *r; |
3831 | 0 | } |
3832 | | |
3833 | 0 | if (auto r = |
3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); |
3835 | 0 | !r) { |
3836 | 0 | m_kind = float_kind::nan_simple; |
3837 | 0 | return it; |
3838 | 0 | } |
3839 | 0 | else { |
3840 | 0 | it = *r; |
3841 | 0 | } |
3842 | | |
3843 | 0 | auto payload_beg_it = it; |
3844 | 0 | it = read_while_code_unit( |
3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { |
3846 | 0 | return is_ascii_char(ch) && |
3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || |
3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); |
3849 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlwE_clEw |
3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); |
3851 | |
|
3852 | 0 | m_kind = float_kind::nan_with_payload; |
3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3854 | 0 | ')')) { |
3855 | 0 | return *r; |
3856 | 0 | } |
3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3858 | 0 | "Invalid floating-point NaN payload"); |
3859 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3822 | 292 | { | 3823 | 292 | auto it = range.begin(); | 3824 | 292 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 292 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 292 | scan_error::invalid_scanned_value, | 3827 | 292 | "Invalid floating-point NaN value")); | 3828 | 292 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
_ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3822 | 946 | { | 3823 | 946 | auto it = range.begin(); | 3824 | 946 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 946 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 946 | scan_error::invalid_scanned_value, | 3827 | 946 | "Invalid floating-point NaN value")); | 3828 | 946 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3822 | 182 | { | 3823 | 182 | auto it = range.begin(); | 3824 | 182 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 182 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 182 | scan_error::invalid_scanned_value, | 3827 | 182 | "Invalid floating-point NaN value")); | 3828 | 182 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
_ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3822 | 986 | { | 3823 | 986 | auto it = range.begin(); | 3824 | 986 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 986 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 986 | scan_error::invalid_scanned_value, | 3827 | 986 | "Invalid floating-point NaN value")); | 3828 | 986 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
|
3860 | | |
3861 | | template <typename Range> |
3862 | | auto read_exponent(Range range, std::string_view exp) |
3863 | | -> ranges::const_iterator_t<Range> |
3864 | 0 | { |
3865 | 0 | if (auto r = read_one_of_code_unit(range, exp)) { |
3866 | 0 | auto beg_exp_it = range.begin(); |
3867 | 0 | auto it = *r; |
3868 | |
|
3869 | 0 | if (auto r_sign = |
3870 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { |
3871 | 0 | it = r_sign->first; |
3872 | 0 | } |
3873 | |
|
3874 | 0 | if (auto r_exp = read_while1_code_unit( |
3875 | 0 | ranges::subrange{it, range.end()}, |
3876 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlwE_clEw |
3877 | 0 | SCN_UNLIKELY(!r_exp)) { |
3878 | 0 | it = beg_exp_it; |
3879 | 0 | } |
3880 | 0 | else { |
3881 | 0 | it = *r_exp; |
3882 | 0 | } |
3883 | |
|
3884 | 0 | return it; |
3885 | 0 | } |
3886 | 0 | return range.begin(); |
3887 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE |
3888 | | |
3889 | | template <typename Range> |
3890 | | auto read_hexfloat(Range range) |
3891 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3892 | 10 | { |
3893 | 10 | auto it = range.begin(); |
3894 | | |
3895 | 10 | std::ptrdiff_t digits_count = 0; |
3896 | 10 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); |
3897 | 10 | SCN_UNLIKELY(!r)) { |
3898 | 10 | return r.transform_error(map_parse_error_to_scan_error( |
3899 | 10 | scan_error::invalid_scanned_value, |
3900 | 10 | "Invalid hexadecimal floating-point value")); |
3901 | 10 | } |
3902 | 0 | else { |
3903 | 0 | digits_count += ranges::distance(it, *r); |
3904 | 0 | it = *r; |
3905 | 0 | } |
3906 | | |
3907 | 0 | m_integral_part_length = digits_count; |
3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3909 | 0 | m_locale_options.decimal_point)) { |
3910 | 0 | it = *r; |
3911 | 0 | } |
3912 | |
|
3913 | 0 | if (auto r = |
3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { |
3915 | 0 | digits_count += ranges::distance(it, *r); |
3916 | 0 | it = *r; |
3917 | 0 | } |
3918 | |
|
3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3921 | 0 | "No significand digits in hexfloat"); |
3922 | 0 | } |
3923 | | |
3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); |
3925 | |
|
3926 | 0 | return it; |
3927 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3892 | 4 | { | 3893 | 4 | auto it = range.begin(); | 3894 | | | 3895 | 4 | std::ptrdiff_t digits_count = 0; | 3896 | 4 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3897 | 4 | SCN_UNLIKELY(!r)) { | 3898 | 4 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 4 | scan_error::invalid_scanned_value, | 3900 | 4 | "Invalid hexadecimal floating-point value")); | 3901 | 4 | } | 3902 | 0 | else { | 3903 | 0 | digits_count += ranges::distance(it, *r); | 3904 | 0 | it = *r; | 3905 | 0 | } | 3906 | | | 3907 | 0 | m_integral_part_length = digits_count; | 3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3909 | 0 | m_locale_options.decimal_point)) { | 3910 | 0 | it = *r; | 3911 | 0 | } | 3912 | |
| 3913 | 0 | if (auto r = | 3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3915 | 0 | digits_count += ranges::distance(it, *r); | 3916 | 0 | it = *r; | 3917 | 0 | } | 3918 | |
| 3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3921 | 0 | "No significand digits in hexfloat"); | 3922 | 0 | } | 3923 | | | 3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3925 | |
| 3926 | 0 | return it; | 3927 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3892 | 6 | { | 3893 | 6 | auto it = range.begin(); | 3894 | | | 3895 | 6 | std::ptrdiff_t digits_count = 0; | 3896 | 6 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3897 | 6 | SCN_UNLIKELY(!r)) { | 3898 | 6 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 6 | scan_error::invalid_scanned_value, | 3900 | 6 | "Invalid hexadecimal floating-point value")); | 3901 | 6 | } | 3902 | 0 | else { | 3903 | 0 | digits_count += ranges::distance(it, *r); | 3904 | 0 | it = *r; | 3905 | 0 | } | 3906 | | | 3907 | 0 | m_integral_part_length = digits_count; | 3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3909 | 0 | m_locale_options.decimal_point)) { | 3910 | 0 | it = *r; | 3911 | 0 | } | 3912 | |
| 3913 | 0 | if (auto r = | 3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3915 | 0 | digits_count += ranges::distance(it, *r); | 3916 | 0 | it = *r; | 3917 | 0 | } | 3918 | |
| 3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3921 | 0 | "No significand digits in hexfloat"); | 3922 | 0 | } | 3923 | | | 3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3925 | |
| 3926 | 0 | return it; | 3927 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ |
3928 | | |
3929 | | template <typename Range> |
3930 | | auto read_regular_float(Range range) |
3931 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3932 | 498 | { |
3933 | 498 | const bool allowed_exp = (m_options & allow_scientific) != 0; |
3934 | 498 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; |
3935 | | |
3936 | 498 | auto it = ranges::begin(range); |
3937 | 498 | std::ptrdiff_t digits_count = 0; |
3938 | | |
3939 | 498 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); |
3940 | 498 | SCN_UNLIKELY(!r)) { |
3941 | 498 | return r.transform_error( |
3942 | 498 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, |
3943 | 498 | "Invalid floating-point value")); |
3944 | 498 | } |
3945 | 0 | else { |
3946 | 0 | digits_count += ranges::distance(it, *r); |
3947 | 0 | it = *r; |
3948 | 0 | } |
3949 | | |
3950 | 0 | m_integral_part_length = digits_count; |
3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3952 | 0 | m_locale_options.decimal_point)) { |
3953 | 0 | it = *r; |
3954 | 0 | } |
3955 | |
|
3956 | 0 | if (auto r = |
3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { |
3958 | 0 | digits_count += ranges::distance(it, *r); |
3959 | 0 | it = *r; |
3960 | 0 | } |
3961 | |
|
3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3964 | 0 | "No significand digits in float"); |
3965 | 0 | } |
3966 | | |
3967 | 0 | auto beg_exp_it = it; |
3968 | 0 | if (allowed_exp) { |
3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); |
3970 | 0 | } |
3971 | 0 | if (required_exp && beg_exp_it == it) { |
3972 | 0 | return unexpected_scan_error( |
3973 | 0 | scan_error::invalid_scanned_value, |
3974 | 0 | "No exponent given to scientific float"); |
3975 | 0 | } |
3976 | | |
3977 | 0 | m_kind = |
3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; |
3979 | |
|
3980 | 0 | return it; |
3981 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3932 | 288 | { | 3933 | 288 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 288 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 288 | auto it = ranges::begin(range); | 3937 | 288 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 288 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 288 | SCN_UNLIKELY(!r)) { | 3941 | 288 | return r.transform_error( | 3942 | 288 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 288 | "Invalid floating-point value")); | 3944 | 288 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
_ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3932 | 26 | { | 3933 | 26 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 26 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 26 | auto it = ranges::begin(range); | 3937 | 26 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 26 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 26 | SCN_UNLIKELY(!r)) { | 3941 | 26 | return r.transform_error( | 3942 | 26 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 26 | "Invalid floating-point value")); | 3944 | 26 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3932 | 176 | { | 3933 | 176 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 176 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 176 | auto it = ranges::begin(range); | 3937 | 176 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 176 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 176 | SCN_UNLIKELY(!r)) { | 3941 | 176 | return r.transform_error( | 3942 | 176 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 176 | "Invalid floating-point value")); | 3944 | 176 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
_ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3932 | 8 | { | 3933 | 8 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 8 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 8 | auto it = ranges::begin(range); | 3937 | 8 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 8 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 8 | SCN_UNLIKELY(!r)) { | 3941 | 8 | return r.transform_error( | 3942 | 8 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 8 | "Invalid floating-point value")); | 3944 | 8 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
|
3982 | | |
3983 | | template <typename Range, typename ReadRegular, typename ReadHex> |
3984 | | auto do_read_source_impl(Range range, |
3985 | | ReadRegular&& read_regular, |
3986 | | ReadHex&& read_hex) |
3987 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3988 | 2.40k | { |
3989 | 2.40k | const bool allowed_hex = (m_options & allow_hex) != 0; |
3990 | 2.40k | const bool allowed_nonhex = |
3991 | 2.40k | (m_options & ~static_cast<unsigned>(allow_thsep) & |
3992 | 2.40k | ~static_cast<unsigned>(allow_hex)) != 0; |
3993 | | |
3994 | 2.40k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { |
3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( |
3996 | 0 | scan_error::invalid_scanned_value, |
3997 | 0 | "Invalid infinite floating-point value")); |
3998 | 0 | } |
3999 | 2.40k | else if (r) { |
4000 | 0 | return *r; |
4001 | 0 | } |
4002 | | |
4003 | 2.40k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { |
4004 | 0 | return unexpected(r.error()); |
4005 | 0 | } |
4006 | 2.40k | else if (r) { |
4007 | 0 | return *r; |
4008 | 0 | } |
4009 | | |
4010 | 2.40k | if (allowed_hex && !allowed_nonhex) { |
4011 | | // only hex allowed: |
4012 | | // prefix "0x" allowed, not required |
4013 | 30 | auto it = range.begin(); |
4014 | | |
4015 | 30 | if (auto r = read_hex_prefix(range)) { |
4016 | 0 | m_kind = float_kind::hex_with_prefix; |
4017 | 0 | it = *r; |
4018 | 0 | } |
4019 | 30 | else { |
4020 | 30 | m_kind = float_kind::hex_without_prefix; |
4021 | 30 | } |
4022 | | |
4023 | 30 | return read_hex(ranges::subrange{it, range.end()}); |
4024 | 30 | } |
4025 | 2.37k | if (!allowed_hex && allowed_nonhex) { |
4026 | | // only nonhex allowed: |
4027 | | // no prefix allowed |
4028 | 60 | m_kind = float_kind::generic; |
4029 | 60 | return read_regular_float(range); |
4030 | 60 | } |
4031 | | // both hex and nonhex allowed: |
4032 | | // check for "0x" prefix -> hex, |
4033 | | // regular otherwise |
4034 | | |
4035 | 2.31k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { |
4036 | 0 | m_kind = float_kind::hex_with_prefix; |
4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); |
4038 | 0 | } |
4039 | | |
4040 | 2.31k | m_kind = float_kind::generic; |
4041 | 2.31k | return read_regular(range); |
4042 | 2.31k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 3988 | 292 | { | 3989 | 292 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 292 | const bool allowed_nonhex = | 3991 | 292 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 292 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 292 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 292 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 292 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 292 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 292 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 4 | auto it = range.begin(); | 4014 | | | 4015 | 4 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 4 | else { | 4020 | 4 | m_kind = float_kind::hex_without_prefix; | 4021 | 4 | } | 4022 | | | 4023 | 4 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 4 | } | 4025 | 288 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 18 | m_kind = float_kind::generic; | 4029 | 18 | return read_regular_float(range); | 4030 | 18 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 270 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 270 | m_kind = float_kind::generic; | 4041 | 270 | return read_regular(range); | 4042 | 270 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 3988 | 946 | { | 3989 | 946 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 946 | const bool allowed_nonhex = | 3991 | 946 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 946 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 946 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 946 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 946 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 946 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 946 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 8 | auto it = range.begin(); | 4014 | | | 4015 | 8 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 8 | else { | 4020 | 8 | m_kind = float_kind::hex_without_prefix; | 4021 | 8 | } | 4022 | | | 4023 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 8 | } | 4025 | 938 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 26 | m_kind = float_kind::generic; | 4029 | 26 | return read_regular_float(range); | 4030 | 26 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 912 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 912 | m_kind = float_kind::generic; | 4041 | 912 | return read_regular(range); | 4042 | 912 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 3988 | 182 | { | 3989 | 182 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 182 | const bool allowed_nonhex = | 3991 | 182 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 182 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 182 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 182 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 182 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 182 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 182 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 6 | auto it = range.begin(); | 4014 | | | 4015 | 6 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 6 | else { | 4020 | 6 | m_kind = float_kind::hex_without_prefix; | 4021 | 6 | } | 4022 | | | 4023 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 6 | } | 4025 | 176 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 8 | m_kind = float_kind::generic; | 4029 | 8 | return read_regular_float(range); | 4030 | 8 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 168 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 168 | m_kind = float_kind::generic; | 4041 | 168 | return read_regular(range); | 4042 | 168 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 3988 | 986 | { | 3989 | 986 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 986 | const bool allowed_nonhex = | 3991 | 986 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 986 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 986 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 986 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 986 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 986 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 986 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 12 | auto it = range.begin(); | 4014 | | | 4015 | 12 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 12 | else { | 4020 | 12 | m_kind = float_kind::hex_without_prefix; | 4021 | 12 | } | 4022 | | | 4023 | 12 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 12 | } | 4025 | 974 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 8 | m_kind = float_kind::generic; | 4029 | 8 | return read_regular_float(range); | 4030 | 8 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 966 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 966 | m_kind = float_kind::generic; | 4041 | 966 | return read_regular(range); | 4042 | 966 | } |
|
4043 | | |
4044 | | void handle_separators() |
4045 | 1.89k | { |
4046 | 1.89k | if (m_locale_options.thousands_sep == 0 && |
4047 | 1.89k | m_locale_options.decimal_point == CharT{'.'}) { |
4048 | 1.89k | return; |
4049 | 1.89k | } |
4050 | | |
4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); |
4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { |
4053 | 0 | for (auto& ch : str) { |
4054 | 0 | if (ch == m_locale_options.decimal_point) { |
4055 | 0 | ch = CharT{'.'}; |
4056 | 0 | } |
4057 | 0 | } |
4058 | 0 | } |
4059 | |
|
4060 | 0 | if (m_locale_options.thousands_sep == 0) { |
4061 | 0 | return; |
4062 | 0 | } |
4063 | | |
4064 | 0 | auto first = |
4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); |
4066 | 0 | if (first == str.end()) { |
4067 | 0 | return; |
4068 | 0 | } |
4069 | | |
4070 | 0 | m_thsep_indices.push_back( |
4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); |
4072 | |
|
4073 | 0 | for (auto it = first; ++it != str.end();) { |
4074 | 0 | if (*it != m_locale_options.thousands_sep) { |
4075 | 0 | *first++ = std::move(*it); |
4076 | 0 | } |
4077 | 0 | else { |
4078 | 0 | m_thsep_indices.push_back( |
4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); |
4080 | 0 | } |
4081 | 0 | } |
4082 | |
|
4083 | 0 | str.erase(first, str.end()); |
4084 | 0 | } scn::v3::impl::float_reader<char>::handle_separators() Line | Count | Source | 4045 | 920 | { | 4046 | 920 | if (m_locale_options.thousands_sep == 0 && | 4047 | 920 | m_locale_options.decimal_point == CharT{'.'}) { | 4048 | 920 | return; | 4049 | 920 | } | 4050 | | | 4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4053 | 0 | for (auto& ch : str) { | 4054 | 0 | if (ch == m_locale_options.decimal_point) { | 4055 | 0 | ch = CharT{'.'}; | 4056 | 0 | } | 4057 | 0 | } | 4058 | 0 | } | 4059 | |
| 4060 | 0 | if (m_locale_options.thousands_sep == 0) { | 4061 | 0 | return; | 4062 | 0 | } | 4063 | | | 4064 | 0 | auto first = | 4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4066 | 0 | if (first == str.end()) { | 4067 | 0 | return; | 4068 | 0 | } | 4069 | | | 4070 | 0 | m_thsep_indices.push_back( | 4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4072 | |
| 4073 | 0 | for (auto it = first; ++it != str.end();) { | 4074 | 0 | if (*it != m_locale_options.thousands_sep) { | 4075 | 0 | *first++ = std::move(*it); | 4076 | 0 | } | 4077 | 0 | else { | 4078 | 0 | m_thsep_indices.push_back( | 4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4080 | 0 | } | 4081 | 0 | } | 4082 | |
| 4083 | 0 | str.erase(first, str.end()); | 4084 | 0 | } |
scn::v3::impl::float_reader<wchar_t>::handle_separators() Line | Count | Source | 4045 | 978 | { | 4046 | 978 | if (m_locale_options.thousands_sep == 0 && | 4047 | 978 | m_locale_options.decimal_point == CharT{'.'}) { | 4048 | 978 | return; | 4049 | 978 | } | 4050 | | | 4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4053 | 0 | for (auto& ch : str) { | 4054 | 0 | if (ch == m_locale_options.decimal_point) { | 4055 | 0 | ch = CharT{'.'}; | 4056 | 0 | } | 4057 | 0 | } | 4058 | 0 | } | 4059 | |
| 4060 | 0 | if (m_locale_options.thousands_sep == 0) { | 4061 | 0 | return; | 4062 | 0 | } | 4063 | | | 4064 | 0 | auto first = | 4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4066 | 0 | if (first == str.end()) { | 4067 | 0 | return; | 4068 | 0 | } | 4069 | | | 4070 | 0 | m_thsep_indices.push_back( | 4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4072 | |
| 4073 | 0 | for (auto it = first; ++it != str.end();) { | 4074 | 0 | if (*it != m_locale_options.thousands_sep) { | 4075 | 0 | *first++ = std::move(*it); | 4076 | 0 | } | 4077 | 0 | else { | 4078 | 0 | m_thsep_indices.push_back( | 4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4080 | 0 | } | 4081 | 0 | } | 4082 | |
| 4083 | 0 | str.erase(first, str.end()); | 4084 | 0 | } |
|
4085 | | |
4086 | | template <typename T> |
4087 | | T setsign(T value) const |
4088 | 1.89k | { |
4089 | 1.89k | if (m_sign == sign_type::minus_sign) { |
4090 | 0 | return std::copysign(value, T{-1.0}); |
4091 | 0 | } |
4092 | 1.89k | return std::copysign(value, T{1.0}); |
4093 | 1.89k | } Unexecuted instantiation: float scn::v3::impl::float_reader<char>::setsign<float>(float) const Unexecuted instantiation: float scn::v3::impl::float_reader<wchar_t>::setsign<float>(float) const double scn::v3::impl::float_reader<char>::setsign<double>(double) const Line | Count | Source | 4088 | 920 | { | 4089 | 920 | if (m_sign == sign_type::minus_sign) { | 4090 | 0 | return std::copysign(value, T{-1.0}); | 4091 | 0 | } | 4092 | 920 | return std::copysign(value, T{1.0}); | 4093 | 920 | } |
double scn::v3::impl::float_reader<wchar_t>::setsign<double>(double) const Line | Count | Source | 4088 | 978 | { | 4089 | 978 | if (m_sign == sign_type::minus_sign) { | 4090 | 0 | return std::copysign(value, T{-1.0}); | 4091 | 0 | } | 4092 | 978 | return std::copysign(value, T{1.0}); | 4093 | 978 | } |
Unexecuted instantiation: long double scn::v3::impl::float_reader<char>::setsign<long double>(long double) const Unexecuted instantiation: long double scn::v3::impl::float_reader<wchar_t>::setsign<long double>(long double) const |
4094 | | |
4095 | | template <typename T> |
4096 | | scan_expected<std::ptrdiff_t> parse_value_impl(T& value); |
4097 | | |
4098 | | localized_number_formatting_options<CharT> m_locale_options{}; |
4099 | | std::string m_thsep_indices{}; |
4100 | | contiguous_range_factory<CharT> m_nan_payload_buffer{}; |
4101 | | std::ptrdiff_t m_integral_part_length{-1}; |
4102 | | sign_type m_sign{sign_type::default_sign}; |
4103 | | float_kind m_kind{float_kind::tbd}; |
4104 | | }; |
4105 | | |
4106 | | #define SCN_DECLARE_FLOAT_READER_TEMPLATE(CharT, FloatT) \ |
4107 | | extern template auto float_reader<CharT>::parse_value_impl(FloatT&) \ |
4108 | | -> scan_expected<std::ptrdiff_t>; |
4109 | | |
4110 | | #if !SCN_DISABLE_TYPE_FLOAT |
4111 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, float) |
4112 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, float) |
4113 | | #endif |
4114 | | #if !SCN_DISABLE_TYPE_DOUBLE |
4115 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, double) |
4116 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, double) |
4117 | | #endif |
4118 | | #if !SCN_DISABLE_TYPE_LONG_DOUBLE |
4119 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, long double) |
4120 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, long double) |
4121 | | #endif |
4122 | | |
4123 | | #undef SCN_DECLARE_FLOAT_READER_TEMPLATE |
4124 | | |
4125 | | template <typename CharT> |
4126 | | class reader_impl_for_float |
4127 | | : public reader_base<reader_impl_for_float<CharT>, CharT> { |
4128 | | public: |
4129 | | constexpr reader_impl_for_float() = default; |
4130 | | |
4131 | | void check_specs_impl(const detail::format_specs& specs, |
4132 | | reader_error_handler& eh) |
4133 | 19.5k | { |
4134 | 19.5k | detail::check_float_type_specs(specs, eh); |
4135 | 19.5k | } scn::v3::impl::reader_impl_for_float<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 4133 | 14.1k | { | 4134 | 14.1k | detail::check_float_type_specs(specs, eh); | 4135 | 14.1k | } |
scn::v3::impl::reader_impl_for_float<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 4133 | 5.44k | { | 4134 | 5.44k | detail::check_float_type_specs(specs, eh); | 4135 | 5.44k | } |
|
4136 | | |
4137 | | template <typename Range, typename T> |
4138 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
4139 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4140 | 1.26k | { |
4141 | 1.26k | SCN_UNUSED(loc); |
4142 | | |
4143 | 1.26k | float_reader<CharT> rd{}; |
4144 | 1.26k | return read_impl<Range>( |
4145 | 1.26k | range, rd, |
4146 | 1.26k | [](float_reader<CharT>& r, auto&&... args) { |
4147 | 1.26k | return r.read_source(SCN_FWD(args)...); |
4148 | 1.26k | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4146 | 656 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 656 | return r.read_source(SCN_FWD(args)...); | 4148 | 656 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4146 | 612 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 612 | return r.read_source(SCN_FWD(args)...); | 4148 | 612 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ |
4149 | 1.26k | value); |
4150 | 1.26k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4140 | 656 | { | 4141 | 656 | SCN_UNUSED(loc); | 4142 | | | 4143 | 656 | float_reader<CharT> rd{}; | 4144 | 656 | return read_impl<Range>( | 4145 | 656 | range, rd, | 4146 | 656 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 656 | return r.read_source(SCN_FWD(args)...); | 4148 | 656 | }, | 4149 | 656 | value); | 4150 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4140 | 612 | { | 4141 | 612 | SCN_UNUSED(loc); | 4142 | | | 4143 | 612 | float_reader<CharT> rd{}; | 4144 | 612 | return read_impl<Range>( | 4145 | 612 | range, rd, | 4146 | 612 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 612 | return r.read_source(SCN_FWD(args)...); | 4148 | 612 | }, | 4149 | 612 | value); | 4150 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
4151 | | |
4152 | | template <typename Range, typename T> |
4153 | | auto read_specs(Range range, |
4154 | | const detail::format_specs& specs, |
4155 | | T& value, |
4156 | | detail::locale_ref loc) |
4157 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4158 | 1.13k | { |
4159 | 1.13k | float_reader<CharT> rd{get_options(specs)}; |
4160 | | |
4161 | 1.13k | #if !SCN_DISABLE_LOCALE |
4162 | 1.13k | if (specs.localized) { |
4163 | 46 | return read_impl<Range>( |
4164 | 46 | range, rd, |
4165 | 46 | [](float_reader<CharT>& r, auto&&... args) { |
4166 | 46 | return r.read_source_localized(SCN_FWD(args)...); |
4167 | 46 | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4165 | 10 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 10 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 10 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4165 | 10 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 10 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 10 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4165 | 18 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 18 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 18 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ |
4168 | 46 | value, loc); |
4169 | 46 | } |
4170 | 1.09k | #endif |
4171 | | |
4172 | 1.09k | return read_impl<Range>( |
4173 | 1.09k | range, rd, |
4174 | 1.09k | [](float_reader<CharT>& r, auto&&... args) { |
4175 | 1.09k | return r.read_source(SCN_FWD(args)...); |
4176 | 1.09k | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4174 | 284 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 284 | return r.read_source(SCN_FWD(args)...); | 4176 | 284 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4174 | 280 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 280 | return r.read_source(SCN_FWD(args)...); | 4176 | 280 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4174 | 172 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 172 | return r.read_source(SCN_FWD(args)...); | 4176 | 172 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4174 | 356 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 356 | return r.read_source(SCN_FWD(args)...); | 4176 | 356 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ |
4177 | 1.09k | value); |
4178 | 1.13k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4158 | 292 | { | 4159 | 292 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 292 | #if !SCN_DISABLE_LOCALE | 4162 | 292 | if (specs.localized) { | 4163 | 8 | return read_impl<Range>( | 4164 | 8 | range, rd, | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, | 4168 | 8 | value, loc); | 4169 | 8 | } | 4170 | 284 | #endif | 4171 | | | 4172 | 284 | return read_impl<Range>( | 4173 | 284 | range, rd, | 4174 | 284 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 284 | return r.read_source(SCN_FWD(args)...); | 4176 | 284 | }, | 4177 | 284 | value); | 4178 | 292 | } |
_ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4158 | 290 | { | 4159 | 290 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 290 | #if !SCN_DISABLE_LOCALE | 4162 | 290 | if (specs.localized) { | 4163 | 10 | return read_impl<Range>( | 4164 | 10 | range, rd, | 4165 | 10 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 10 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 10 | }, | 4168 | 10 | value, loc); | 4169 | 10 | } | 4170 | 280 | #endif | 4171 | | | 4172 | 280 | return read_impl<Range>( | 4173 | 280 | range, rd, | 4174 | 280 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 280 | return r.read_source(SCN_FWD(args)...); | 4176 | 280 | }, | 4177 | 280 | value); | 4178 | 290 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4158 | 182 | { | 4159 | 182 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 182 | #if !SCN_DISABLE_LOCALE | 4162 | 182 | if (specs.localized) { | 4163 | 10 | return read_impl<Range>( | 4164 | 10 | range, rd, | 4165 | 10 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 10 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 10 | }, | 4168 | 10 | value, loc); | 4169 | 10 | } | 4170 | 172 | #endif | 4171 | | | 4172 | 172 | return read_impl<Range>( | 4173 | 172 | range, rd, | 4174 | 172 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 172 | return r.read_source(SCN_FWD(args)...); | 4176 | 172 | }, | 4177 | 172 | value); | 4178 | 182 | } |
_ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4158 | 374 | { | 4159 | 374 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 374 | #if !SCN_DISABLE_LOCALE | 4162 | 374 | if (specs.localized) { | 4163 | 18 | return read_impl<Range>( | 4164 | 18 | range, rd, | 4165 | 18 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 18 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 18 | }, | 4168 | 18 | value, loc); | 4169 | 18 | } | 4170 | 356 | #endif | 4171 | | | 4172 | 356 | return read_impl<Range>( | 4173 | 356 | range, rd, | 4174 | 356 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 356 | return r.read_source(SCN_FWD(args)...); | 4176 | 356 | }, | 4177 | 356 | value); | 4178 | 374 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
4179 | | |
4180 | | private: |
4181 | | template <typename Range> |
4182 | | using read_source_callback_type = |
4183 | | scan_expected<ranges::const_iterator_t<Range>>(float_reader<CharT>&, |
4184 | | Range, |
4185 | | detail::locale_ref); |
4186 | | |
4187 | | template <typename Range, typename T> |
4188 | | scan_expected<ranges::const_iterator_t<Range>> read_impl( |
4189 | | Range range, |
4190 | | float_reader<CharT>& rd, |
4191 | | function_ref<read_source_callback_type<Range>> read_source_cb, |
4192 | | T& value, |
4193 | | detail::locale_ref loc = {}) |
4194 | 2.40k | { |
4195 | 2.40k | if (auto r = std::invoke(read_source_cb, rd, range, loc); |
4196 | 2.40k | SCN_UNLIKELY(!r)) { |
4197 | 508 | return unexpected(r.error()); |
4198 | 508 | } |
4199 | | |
4200 | 1.89k | SCN_TRY(n, rd.parse_value(value)); |
4201 | 0 | return ranges::next(range.begin(), n); |
4202 | 1.89k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4194 | 292 | { | 4195 | 292 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 292 | SCN_UNLIKELY(!r)) { | 4197 | 292 | return unexpected(r.error()); | 4198 | 292 | } | 4199 | | | 4200 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 0 | } |
_ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4194 | 946 | { | 4195 | 946 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 946 | SCN_UNLIKELY(!r)) { | 4197 | 26 | return unexpected(r.error()); | 4198 | 26 | } | 4199 | | | 4200 | 920 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 920 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4194 | 182 | { | 4195 | 182 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 182 | SCN_UNLIKELY(!r)) { | 4197 | 182 | return unexpected(r.error()); | 4198 | 182 | } | 4199 | | | 4200 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 0 | } |
_ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4194 | 986 | { | 4195 | 986 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 986 | SCN_UNLIKELY(!r)) { | 4197 | 8 | return unexpected(r.error()); | 4198 | 8 | } | 4199 | | | 4200 | 978 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 978 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ |
4203 | | |
4204 | | static unsigned get_options(const detail::format_specs& specs) |
4205 | 1.13k | { |
4206 | 1.13k | unsigned options{}; |
4207 | 1.13k | if (specs.localized) { |
4208 | 46 | options |= float_reader_base::allow_thsep; |
4209 | 46 | } |
4210 | | |
4211 | 1.13k | SCN_GCC_COMPAT_PUSH |
4212 | 1.13k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
4213 | | |
4214 | 1.13k | switch (specs.type) { |
4215 | 38 | case detail::presentation_type::float_fixed: |
4216 | 38 | return options | float_reader_base::allow_fixed; |
4217 | | |
4218 | 8 | case detail::presentation_type::float_scientific: |
4219 | 8 | return options | float_reader_base::allow_scientific; |
4220 | | |
4221 | 30 | case detail::presentation_type::float_hex: |
4222 | 30 | return options | float_reader_base::allow_hex; |
4223 | | |
4224 | 14 | case detail::presentation_type::float_general: |
4225 | 14 | return options | float_reader_base::allow_scientific | |
4226 | 14 | float_reader_base::allow_fixed; |
4227 | | |
4228 | 1.04k | case detail::presentation_type::none: |
4229 | 1.04k | return options | float_reader_base::allow_scientific | |
4230 | 1.04k | float_reader_base::allow_fixed | |
4231 | 1.04k | float_reader_base::allow_hex; |
4232 | | |
4233 | 0 | default: |
4234 | 0 | SCN_EXPECT(false); |
4235 | 1.13k | SCN_UNREACHABLE; |
4236 | 1.13k | } |
4237 | | |
4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
4239 | 1.13k | } scn::v3::impl::reader_impl_for_float<char>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 4205 | 582 | { | 4206 | 582 | unsigned options{}; | 4207 | 582 | if (specs.localized) { | 4208 | 18 | options |= float_reader_base::allow_thsep; | 4209 | 18 | } | 4210 | | | 4211 | 582 | SCN_GCC_COMPAT_PUSH | 4212 | 582 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4213 | | | 4214 | 582 | switch (specs.type) { | 4215 | 30 | case detail::presentation_type::float_fixed: | 4216 | 30 | return options | float_reader_base::allow_fixed; | 4217 | | | 4218 | 4 | case detail::presentation_type::float_scientific: | 4219 | 4 | return options | float_reader_base::allow_scientific; | 4220 | | | 4221 | 12 | case detail::presentation_type::float_hex: | 4222 | 12 | return options | float_reader_base::allow_hex; | 4223 | | | 4224 | 10 | case detail::presentation_type::float_general: | 4225 | 10 | return options | float_reader_base::allow_scientific | | 4226 | 10 | float_reader_base::allow_fixed; | 4227 | | | 4228 | 526 | case detail::presentation_type::none: | 4229 | 526 | return options | float_reader_base::allow_scientific | | 4230 | 526 | float_reader_base::allow_fixed | | 4231 | 526 | float_reader_base::allow_hex; | 4232 | | | 4233 | 0 | default: | 4234 | 0 | SCN_EXPECT(false); | 4235 | 582 | SCN_UNREACHABLE; | 4236 | 582 | } | 4237 | | | 4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4239 | 582 | } |
scn::v3::impl::reader_impl_for_float<wchar_t>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 4205 | 556 | { | 4206 | 556 | unsigned options{}; | 4207 | 556 | if (specs.localized) { | 4208 | 28 | options |= float_reader_base::allow_thsep; | 4209 | 28 | } | 4210 | | | 4211 | 556 | SCN_GCC_COMPAT_PUSH | 4212 | 556 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4213 | | | 4214 | 556 | switch (specs.type) { | 4215 | 8 | case detail::presentation_type::float_fixed: | 4216 | 8 | return options | float_reader_base::allow_fixed; | 4217 | | | 4218 | 4 | case detail::presentation_type::float_scientific: | 4219 | 4 | return options | float_reader_base::allow_scientific; | 4220 | | | 4221 | 18 | case detail::presentation_type::float_hex: | 4222 | 18 | return options | float_reader_base::allow_hex; | 4223 | | | 4224 | 4 | case detail::presentation_type::float_general: | 4225 | 4 | return options | float_reader_base::allow_scientific | | 4226 | 4 | float_reader_base::allow_fixed; | 4227 | | | 4228 | 522 | case detail::presentation_type::none: | 4229 | 522 | return options | float_reader_base::allow_scientific | | 4230 | 522 | float_reader_base::allow_fixed | | 4231 | 522 | float_reader_base::allow_hex; | 4232 | | | 4233 | 0 | default: | 4234 | 0 | SCN_EXPECT(false); | 4235 | 556 | SCN_UNREACHABLE; | 4236 | 556 | } | 4237 | | | 4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4239 | 556 | } |
|
4240 | | }; |
4241 | | |
4242 | | ///////////////////////////////////////////////////////////////// |
4243 | | // Regex reader |
4244 | | ///////////////////////////////////////////////////////////////// |
4245 | | |
4246 | | // Forward declaration for C++17 compatibility with regex disabled |
4247 | | template <typename CharT, typename Input> |
4248 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4249 | | detail::regex_flags flags, |
4250 | | Input input, |
4251 | | basic_regex_matches<CharT>& value) |
4252 | | -> scan_expected<ranges::iterator_t<Input>>; |
4253 | | |
4254 | | #if !SCN_DISABLE_REGEX |
4255 | | |
4256 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4257 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4258 | | -> scan_expected<std::regex_constants::syntax_option_type> |
4259 | 46.0k | { |
4260 | 46.0k | std::regex_constants::syntax_option_type result{}; |
4261 | 46.0k | if ((flags & detail::regex_flags::multiline) != detail::regex_flags::none) { |
4262 | 1.09k | #if SCN_HAS_STD_REGEX_MULTILINE |
4263 | 1.09k | result |= std::regex_constants::multiline; |
4264 | | #else |
4265 | | return unexpected_scan_error( |
4266 | | scan_error::invalid_format_string, |
4267 | | "/m flag for regex isn't supported by regex backend"); |
4268 | | #endif |
4269 | 1.09k | } |
4270 | 46.0k | if ((flags & detail::regex_flags::singleline) != |
4271 | 46.0k | detail::regex_flags::none) { |
4272 | 0 | return unexpected_scan_error( |
4273 | 0 | scan_error::invalid_format_string, |
4274 | 0 | "/s flag for regex isn't supported by regex backend"); |
4275 | 0 | } |
4276 | 46.0k | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4277 | 7.92k | result |= std::regex_constants::icase; |
4278 | 7.92k | } |
4279 | 46.0k | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4280 | 12 | result |= std::regex_constants::nosubs; |
4281 | 12 | } |
4282 | 46.0k | return result; |
4283 | 46.0k | } |
4284 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4285 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4286 | | -> boost::regex_constants::syntax_option_type |
4287 | | { |
4288 | | boost::regex_constants::syntax_option_type result{}; |
4289 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4290 | | result |= boost::regex_constants::no_mod_m; |
4291 | | } |
4292 | | if ((flags & detail::regex_flags::singleline) != |
4293 | | detail::regex_flags::none) { |
4294 | | result |= boost::regex_constants::mod_s; |
4295 | | } |
4296 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4297 | | result |= boost::regex_constants::icase; |
4298 | | } |
4299 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4300 | | result |= boost::regex_constants::nosubs; |
4301 | | } |
4302 | | return result; |
4303 | | } |
4304 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4305 | | inline auto make_regex_flags(detail::regex_flags flags) |
4306 | | -> std::pair<RE2::Options, std::string_view> |
4307 | | { |
4308 | | RE2::Options opt{RE2::Quiet}; |
4309 | | std::string_view stringflags{}; |
4310 | | |
4311 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4312 | | stringflags = "(?m)"; |
4313 | | } |
4314 | | if ((flags & detail::regex_flags::singleline) != |
4315 | | detail::regex_flags::none) { |
4316 | | opt.set_dot_nl(true); |
4317 | | } |
4318 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4319 | | opt.set_case_sensitive(false); |
4320 | | } |
4321 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4322 | | opt.set_never_capture(true); |
4323 | | } |
4324 | | |
4325 | | return {opt, stringflags}; |
4326 | | } |
4327 | | #endif // SCN_REGEX_BACKEND == ... |
4328 | | |
4329 | | template <typename CharT, typename Input> |
4330 | | auto read_regex_string_impl(std::basic_string_view<CharT> pattern, |
4331 | | detail::regex_flags flags, |
4332 | | Input input) |
4333 | | -> scan_expected<ranges::iterator_t<Input>> |
4334 | 46.0k | { |
4335 | 46.0k | static_assert(ranges::contiguous_range<Input> && |
4336 | 46.0k | ranges::borrowed_range<Input> && |
4337 | 46.0k | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4338 | | |
4339 | 46.0k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4340 | 46.0k | std::basic_regex<CharT> re{}; |
4341 | 46.0k | try { |
4342 | 46.0k | SCN_TRY(re_flags, make_regex_flags(flags)); |
4343 | 46.0k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), |
4344 | 46.0k | re_flags | std::regex_constants::nosubs}; |
4345 | 46.0k | } |
4346 | 46.0k | catch (const std::regex_error& err) { |
4347 | 25.1k | return unexpected_scan_error(scan_error::invalid_format_string, |
4348 | 25.1k | "Invalid regex"); |
4349 | 25.1k | } |
4350 | | |
4351 | 20.9k | std::match_results<const CharT*> matches{}; |
4352 | 20.9k | try { |
4353 | 20.9k | bool found = std::regex_search(input.data(), |
4354 | 20.9k | input.data() + input.size(), matches, re, |
4355 | 20.9k | std::regex_constants::match_continuous); |
4356 | 20.9k | if (!found || matches.prefix().matched) { |
4357 | 13.4k | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4358 | 13.4k | "Regular expression didn't match"); |
4359 | 13.4k | } |
4360 | 20.9k | } |
4361 | 20.9k | catch (const std::regex_error& err) { |
4362 | 606 | return unexpected_scan_error(scan_error::invalid_format_string, |
4363 | 606 | "Regex matching failed with an error"); |
4364 | 606 | } |
4365 | | |
4366 | 6.83k | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4368 | | auto re = |
4369 | | #if SCN_REGEX_BOOST_USE_ICU |
4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), |
4371 | | make_regex_flags(flags) | |
4372 | | boost::regex_constants::no_except | |
4373 | | boost::regex_constants::nosubs); |
4374 | | #else |
4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), |
4376 | | make_regex_flags(flags) | |
4377 | | boost::regex_constants::no_except | |
4378 | | boost::regex_constants::nosubs}; |
4379 | | #endif |
4380 | | if (re.status() != 0) { |
4381 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4382 | | "Invalid regex"); |
4383 | | } |
4384 | | |
4385 | | boost::match_results<const CharT*> matches{}; |
4386 | | try { |
4387 | | bool found = |
4388 | | #if SCN_REGEX_BOOST_USE_ICU |
4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4390 | | matches, re, |
4391 | | boost::regex_constants::match_continuous); |
4392 | | #else |
4393 | | boost::regex_search(input.data(), input.data() + input.size(), |
4394 | | matches, re, |
4395 | | boost::regex_constants::match_continuous); |
4396 | | #endif |
4397 | | if (!found || matches.prefix().matched) { |
4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4399 | | "Regular expression didn't match"); |
4400 | | } |
4401 | | } |
4402 | | catch (const std::runtime_error& err) { |
4403 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4404 | | "Regex matching failed with an error"); |
4405 | | } |
4406 | | |
4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4409 | | static_assert(std::is_same_v<CharT, char>); |
4410 | | std::string flagged_pattern{}; |
4411 | | auto re = [&]() { |
4412 | | auto [opts, flagstr] = make_regex_flags(flags); |
4413 | | opts.set_never_capture(true); |
4414 | | if (flagstr.empty()) { |
4415 | | return re2::RE2{pattern, opts}; |
4416 | | } |
4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4418 | | flagged_pattern.append(flagstr); |
4419 | | flagged_pattern.append(pattern); |
4420 | | return re2::RE2{flagged_pattern, opts}; |
4421 | | }(); |
4422 | | if (!re.ok()) { |
4423 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4424 | | "Failed to parse regular expression"); |
4425 | | } |
4426 | | |
4427 | | auto new_input = detail::make_string_view_from_pointers( |
4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); |
4429 | | bool found = re2::RE2::Consume(&new_input, re); |
4430 | | if (!found) { |
4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4432 | | "Regular expression didn't match"); |
4433 | | } |
4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4435 | | #endif // SCN_REGEX_BACKEND == ... |
4436 | 20.9k | } Unexecuted instantiation: _ZN3scn2v34impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v34impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4334 | 32.6k | { | 4335 | 32.6k | static_assert(ranges::contiguous_range<Input> && | 4336 | 32.6k | ranges::borrowed_range<Input> && | 4337 | 32.6k | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4338 | | | 4339 | 32.6k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4340 | 32.6k | std::basic_regex<CharT> re{}; | 4341 | 32.6k | try { | 4342 | 32.6k | SCN_TRY(re_flags, make_regex_flags(flags)); | 4343 | 32.6k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4344 | 32.6k | re_flags | std::regex_constants::nosubs}; | 4345 | 32.6k | } | 4346 | 32.6k | catch (const std::regex_error& err) { | 4347 | 20.3k | return unexpected_scan_error(scan_error::invalid_format_string, | 4348 | 20.3k | "Invalid regex"); | 4349 | 20.3k | } | 4350 | | | 4351 | 12.3k | std::match_results<const CharT*> matches{}; | 4352 | 12.3k | try { | 4353 | 12.3k | bool found = std::regex_search(input.data(), | 4354 | 12.3k | input.data() + input.size(), matches, re, | 4355 | 12.3k | std::regex_constants::match_continuous); | 4356 | 12.3k | if (!found || matches.prefix().matched) { | 4357 | 7.87k | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4358 | 7.87k | "Regular expression didn't match"); | 4359 | 7.87k | } | 4360 | 12.3k | } | 4361 | 12.3k | catch (const std::regex_error& err) { | 4362 | 516 | return unexpected_scan_error(scan_error::invalid_format_string, | 4363 | 516 | "Regex matching failed with an error"); | 4364 | 516 | } | 4365 | | | 4366 | 3.93k | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4368 | | auto re = | 4369 | | #if SCN_REGEX_BOOST_USE_ICU | 4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4371 | | make_regex_flags(flags) | | 4372 | | boost::regex_constants::no_except | | 4373 | | boost::regex_constants::nosubs); | 4374 | | #else | 4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4376 | | make_regex_flags(flags) | | 4377 | | boost::regex_constants::no_except | | 4378 | | boost::regex_constants::nosubs}; | 4379 | | #endif | 4380 | | if (re.status() != 0) { | 4381 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4382 | | "Invalid regex"); | 4383 | | } | 4384 | | | 4385 | | boost::match_results<const CharT*> matches{}; | 4386 | | try { | 4387 | | bool found = | 4388 | | #if SCN_REGEX_BOOST_USE_ICU | 4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4390 | | matches, re, | 4391 | | boost::regex_constants::match_continuous); | 4392 | | #else | 4393 | | boost::regex_search(input.data(), input.data() + input.size(), | 4394 | | matches, re, | 4395 | | boost::regex_constants::match_continuous); | 4396 | | #endif | 4397 | | if (!found || matches.prefix().matched) { | 4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4399 | | "Regular expression didn't match"); | 4400 | | } | 4401 | | } | 4402 | | catch (const std::runtime_error& err) { | 4403 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4404 | | "Regex matching failed with an error"); | 4405 | | } | 4406 | | | 4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4409 | | static_assert(std::is_same_v<CharT, char>); | 4410 | | std::string flagged_pattern{}; | 4411 | | auto re = [&]() { | 4412 | | auto [opts, flagstr] = make_regex_flags(flags); | 4413 | | opts.set_never_capture(true); | 4414 | | if (flagstr.empty()) { | 4415 | | return re2::RE2{pattern, opts}; | 4416 | | } | 4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4418 | | flagged_pattern.append(flagstr); | 4419 | | flagged_pattern.append(pattern); | 4420 | | return re2::RE2{flagged_pattern, opts}; | 4421 | | }(); | 4422 | | if (!re.ok()) { | 4423 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4424 | | "Failed to parse regular expression"); | 4425 | | } | 4426 | | | 4427 | | auto new_input = detail::make_string_view_from_pointers( | 4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); | 4429 | | bool found = re2::RE2::Consume(&new_input, re); | 4430 | | if (!found) { | 4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4432 | | "Regular expression didn't match"); | 4433 | | } | 4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4435 | | #endif // SCN_REGEX_BACKEND == ... | 4436 | 12.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl22read_regex_string_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v34impl22read_regex_string_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4334 | 13.3k | { | 4335 | 13.3k | static_assert(ranges::contiguous_range<Input> && | 4336 | 13.3k | ranges::borrowed_range<Input> && | 4337 | 13.3k | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4338 | | | 4339 | 13.3k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4340 | 13.3k | std::basic_regex<CharT> re{}; | 4341 | 13.3k | try { | 4342 | 13.3k | SCN_TRY(re_flags, make_regex_flags(flags)); | 4343 | 13.3k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4344 | 13.3k | re_flags | std::regex_constants::nosubs}; | 4345 | 13.3k | } | 4346 | 13.3k | catch (const std::regex_error& err) { | 4347 | 4.76k | return unexpected_scan_error(scan_error::invalid_format_string, | 4348 | 4.76k | "Invalid regex"); | 4349 | 4.76k | } | 4350 | | | 4351 | 8.61k | std::match_results<const CharT*> matches{}; | 4352 | 8.61k | try { | 4353 | 8.61k | bool found = std::regex_search(input.data(), | 4354 | 8.61k | input.data() + input.size(), matches, re, | 4355 | 8.61k | std::regex_constants::match_continuous); | 4356 | 8.61k | if (!found || matches.prefix().matched) { | 4357 | 5.61k | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4358 | 5.61k | "Regular expression didn't match"); | 4359 | 5.61k | } | 4360 | 8.61k | } | 4361 | 8.61k | catch (const std::regex_error& err) { | 4362 | 90 | return unexpected_scan_error(scan_error::invalid_format_string, | 4363 | 90 | "Regex matching failed with an error"); | 4364 | 90 | } | 4365 | | | 4366 | 2.90k | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4368 | | auto re = | 4369 | | #if SCN_REGEX_BOOST_USE_ICU | 4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4371 | | make_regex_flags(flags) | | 4372 | | boost::regex_constants::no_except | | 4373 | | boost::regex_constants::nosubs); | 4374 | | #else | 4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4376 | | make_regex_flags(flags) | | 4377 | | boost::regex_constants::no_except | | 4378 | | boost::regex_constants::nosubs}; | 4379 | | #endif | 4380 | | if (re.status() != 0) { | 4381 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4382 | | "Invalid regex"); | 4383 | | } | 4384 | | | 4385 | | boost::match_results<const CharT*> matches{}; | 4386 | | try { | 4387 | | bool found = | 4388 | | #if SCN_REGEX_BOOST_USE_ICU | 4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4390 | | matches, re, | 4391 | | boost::regex_constants::match_continuous); | 4392 | | #else | 4393 | | boost::regex_search(input.data(), input.data() + input.size(), | 4394 | | matches, re, | 4395 | | boost::regex_constants::match_continuous); | 4396 | | #endif | 4397 | | if (!found || matches.prefix().matched) { | 4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4399 | | "Regular expression didn't match"); | 4400 | | } | 4401 | | } | 4402 | | catch (const std::runtime_error& err) { | 4403 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4404 | | "Regex matching failed with an error"); | 4405 | | } | 4406 | | | 4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4409 | | static_assert(std::is_same_v<CharT, char>); | 4410 | | std::string flagged_pattern{}; | 4411 | | auto re = [&]() { | 4412 | | auto [opts, flagstr] = make_regex_flags(flags); | 4413 | | opts.set_never_capture(true); | 4414 | | if (flagstr.empty()) { | 4415 | | return re2::RE2{pattern, opts}; | 4416 | | } | 4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4418 | | flagged_pattern.append(flagstr); | 4419 | | flagged_pattern.append(pattern); | 4420 | | return re2::RE2{flagged_pattern, opts}; | 4421 | | }(); | 4422 | | if (!re.ok()) { | 4423 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4424 | | "Failed to parse regular expression"); | 4425 | | } | 4426 | | | 4427 | | auto new_input = detail::make_string_view_from_pointers( | 4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); | 4429 | | bool found = re2::RE2::Consume(&new_input, re); | 4430 | | if (!found) { | 4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4432 | | "Regular expression didn't match"); | 4433 | | } | 4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4435 | | #endif // SCN_REGEX_BACKEND == ... | 4436 | 8.61k | } |
|
4437 | | |
4438 | | template <typename CharT, typename Input> |
4439 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4440 | | detail::regex_flags flags, |
4441 | | Input input, |
4442 | | basic_regex_matches<CharT>& value) |
4443 | | -> scan_expected<ranges::iterator_t<Input>> |
4444 | 0 | { |
4445 | 0 | static_assert(ranges::contiguous_range<Input> && |
4446 | 0 | ranges::borrowed_range<Input> && |
4447 | 0 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4448 | |
|
4449 | 0 | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4450 | 0 | std::basic_regex<CharT> re{}; |
4451 | 0 | try { |
4452 | 0 | SCN_TRY(re_flags, make_regex_flags(flags)); |
4453 | 0 | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), re_flags}; |
4454 | 0 | } |
4455 | 0 | catch (const std::regex_error& err) { |
4456 | 0 | return unexpected_scan_error(scan_error::invalid_format_string, |
4457 | 0 | "Invalid regex"); |
4458 | 0 | } |
4459 | | |
4460 | 0 | std::match_results<const CharT*> matches{}; |
4461 | 0 | try { |
4462 | 0 | bool found = std::regex_search(input.data(), |
4463 | 0 | input.data() + input.size(), matches, re, |
4464 | 0 | std::regex_constants::match_continuous); |
4465 | 0 | if (!found || matches.prefix().matched) { |
4466 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4467 | 0 | "Regular expression didn't match"); |
4468 | 0 | } |
4469 | 0 | } |
4470 | 0 | catch (const std::regex_error& err) { |
4471 | 0 | return unexpected_scan_error(scan_error::invalid_format_string, |
4472 | 0 | "Regex matching failed with an error"); |
4473 | 0 | } |
4474 | | |
4475 | 0 | value.resize(matches.size()); |
4476 | 0 | std::transform(matches.begin(), matches.end(), value.begin(), |
4477 | 0 | [](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4478 | 0 | if (!match.matched) |
4479 | 0 | return std::nullopt; |
4480 | 0 | return detail::make_string_view_from_pointers( |
4481 | 0 | match.first, match.second); |
4482 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRKNS3_9sub_matchIPKcEEEENS3_8optionalINS0_17basic_regex_matchIcEEEESM_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRKNSF_9sub_matchIS8_EEEENSF_8optionalINS0_17basic_regex_matchIcEEEESQ_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRKNS3_9sub_matchIPKwEEEENS3_8optionalINS0_17basic_regex_matchIwEEEESM_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRKNSF_9sub_matchIS8_EEEENSF_8optionalINS0_17basic_regex_matchIwEEEESQ_ |
4483 | 0 | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4484 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4485 | | std::vector<std::basic_string<CharT>> names; |
4486 | | for (size_t i = 0; i < pattern.size();) { |
4487 | | if constexpr (std::is_same_v<CharT, char>) { |
4488 | | i = pattern.find("(?<", i); |
4489 | | } |
4490 | | else { |
4491 | | i = pattern.find(L"(?<", i); |
4492 | | } |
4493 | | |
4494 | | if (i == std::basic_string_view<CharT>::npos) { |
4495 | | break; |
4496 | | } |
4497 | | if (i > 0 && pattern[i - 1] == CharT{'\\'}) { |
4498 | | if (i == 1 || pattern[i - 2] != CharT{'\\'}) { |
4499 | | i += 3; |
4500 | | continue; |
4501 | | } |
4502 | | } |
4503 | | |
4504 | | i += 3; |
4505 | | auto end_i = pattern.find(CharT{'>'}, i); |
4506 | | if (end_i == std::basic_string_view<CharT>::npos) { |
4507 | | break; |
4508 | | } |
4509 | | names.emplace_back(pattern.substr(i, end_i - i)); |
4510 | | } |
4511 | | |
4512 | | auto re = |
4513 | | #if SCN_REGEX_BOOST_USE_ICU |
4514 | | boost::make_u32regex( |
4515 | | pattern.data(), pattern.data() + pattern.size(), |
4516 | | make_regex_flags(flags) | boost::regex_constants::no_except); |
4517 | | #else |
4518 | | boost::basic_regex<CharT>{ |
4519 | | pattern.data(), pattern.size(), |
4520 | | make_regex_flags(flags) | boost::regex_constants::no_except}; |
4521 | | #endif |
4522 | | if (re.status() != 0) { |
4523 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4524 | | "Invalid regex"); |
4525 | | } |
4526 | | |
4527 | | boost::match_results<const CharT*> matches{}; |
4528 | | try { |
4529 | | bool found = |
4530 | | #if SCN_REGEX_BOOST_USE_ICU |
4531 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4532 | | matches, re, |
4533 | | boost::regex_constants::match_continuous); |
4534 | | #else |
4535 | | boost::regex_search(input.data(), input.data() + input.size(), |
4536 | | matches, re, |
4537 | | boost::regex_constants::match_continuous); |
4538 | | #endif |
4539 | | if (!found || matches.prefix().matched) { |
4540 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4541 | | "Regular expression didn't match"); |
4542 | | } |
4543 | | } |
4544 | | catch (const std::runtime_error& err) { |
4545 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4546 | | "Regex matching failed with an error"); |
4547 | | } |
4548 | | |
4549 | | value.resize(matches.size()); |
4550 | | std::transform( |
4551 | | matches.begin(), matches.end(), value.begin(), |
4552 | | [&](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4553 | | if (!match.matched) |
4554 | | return std::nullopt; |
4555 | | auto sv = detail::make_string_view_from_pointers(match.first, |
4556 | | match.second); |
4557 | | |
4558 | | if (auto name_it = std::find_if( |
4559 | | names.begin(), names.end(), |
4560 | | [&](const auto& name) { return match == matches[name]; }); |
4561 | | name_it != names.end()) { |
4562 | | return basic_regex_match<CharT>{sv, *name_it}; |
4563 | | } |
4564 | | return sv; |
4565 | | }); |
4566 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4567 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4568 | | static_assert(std::is_same_v<CharT, char>); |
4569 | | std::string flagged_pattern{}; |
4570 | | auto re = [&]() { |
4571 | | auto [opts, flagstr] = make_regex_flags(flags); |
4572 | | if (flagstr.empty()) { |
4573 | | return re2::RE2{pattern, opts}; |
4574 | | } |
4575 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4576 | | flagged_pattern.append(flagstr); |
4577 | | flagged_pattern.append(pattern); |
4578 | | return re2::RE2{flagged_pattern, opts}; |
4579 | | }(); |
4580 | | if (!re.ok()) { |
4581 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4582 | | "Failed to parse regular expression"); |
4583 | | } |
4584 | | // TODO: Optimize into a single batch allocation |
4585 | | const auto max_matches_n = |
4586 | | static_cast<size_t>(re.NumberOfCapturingGroups()); |
4587 | | std::vector<std::optional<std::string_view>> matches(max_matches_n); |
4588 | | std::vector<re2::RE2::Arg> match_args(max_matches_n); |
4589 | | std::vector<re2::RE2::Arg*> match_argptrs(max_matches_n); |
4590 | | std::transform(matches.begin(), matches.end(), match_args.begin(), |
4591 | | [](auto& val) { return re2::RE2::Arg{&val}; }); |
4592 | | std::transform(match_args.begin(), match_args.end(), match_argptrs.begin(), |
4593 | | [](auto& arg) { return &arg; }); |
4594 | | auto new_input = detail::make_string_view_from_pointers( |
4595 | | detail::to_address(input.begin()), detail::to_address(input.end())); |
4596 | | bool found = re2::RE2::ConsumeN(&new_input, re, match_argptrs.data(), |
4597 | | match_argptrs.size()); |
4598 | | if (!found) { |
4599 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4600 | | "Regular expression didn't match"); |
4601 | | } |
4602 | | value.resize(matches.size() + 1); |
4603 | | value[0] = |
4604 | | detail::make_string_view_from_pointers(input.data(), new_input.data()); |
4605 | | std::transform(matches.begin(), matches.end(), value.begin() + 1, |
4606 | | [&](auto&& match) -> std::optional<regex_match> { |
4607 | | if (!match) |
4608 | | return std::nullopt; |
4609 | | return *match; |
4610 | | }); |
4611 | | { |
4612 | | const auto& capturing_groups = re.CapturingGroupNames(); |
4613 | | for (size_t i = 1; i < value.size(); ++i) { |
4614 | | if (auto it = capturing_groups.find(static_cast<int>(i)); |
4615 | | it != capturing_groups.end()) { |
4616 | | auto val = value[i]->get(); |
4617 | | value[i].emplace(val, it->second); |
4618 | | }; |
4619 | | } |
4620 | | } |
4621 | | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4622 | | #endif // SCN_REGEX_BACKEND == ... |
4623 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE |
4624 | | |
4625 | | inline std::string get_unescaped_regex_pattern(std::string_view pattern) |
4626 | 5.41k | { |
4627 | 5.41k | std::string result{pattern}; |
4628 | 45.6k | for (size_t n = 0; (n = result.find("\\/", n)) != std::string::npos;) { |
4629 | 40.2k | result.replace(n, 2, "/"); |
4630 | 40.2k | ++n; |
4631 | 40.2k | } |
4632 | 5.41k | return result; |
4633 | 5.41k | } |
4634 | | inline std::wstring get_unescaped_regex_pattern(std::wstring_view pattern) |
4635 | 390 | { |
4636 | 390 | std::wstring result{pattern}; |
4637 | 4.27k | for (size_t n = 0; (n = result.find(L"\\/", n)) != std::wstring::npos;) { |
4638 | 3.88k | result.replace(n, 2, L"/"); |
4639 | 3.88k | ++n; |
4640 | 3.88k | } |
4641 | 390 | return result; |
4642 | 390 | } |
4643 | | |
4644 | | #endif // !SCN_DISABLE_REGEX |
4645 | | |
4646 | | template <typename SourceCharT> |
4647 | | struct regex_matches_reader |
4648 | | : public reader_base<regex_matches_reader<SourceCharT>, SourceCharT> { |
4649 | | void check_specs_impl(const detail::format_specs& specs, |
4650 | | reader_error_handler& eh) |
4651 | 0 | { |
4652 | 0 | detail::check_regex_type_specs(specs, eh); |
4653 | 0 | SCN_EXPECT(specs.charset_string_data != nullptr); |
4654 | 0 | SCN_EXPECT(specs.charset_string_size > 0); |
4655 | 0 | } Unexecuted instantiation: scn::v3::impl::regex_matches_reader<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Unexecuted instantiation: scn::v3::impl::regex_matches_reader<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) |
4656 | | |
4657 | | template <typename Range, typename DestCharT> |
4658 | | auto read_default(Range, |
4659 | | basic_regex_matches<DestCharT>&, |
4660 | | detail::locale_ref = {}) |
4661 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4662 | 0 | { |
4663 | 0 | return unexpected_scan_error( |
4664 | 0 | scan_error::invalid_format_string, |
4665 | 0 | "No regex given in format string for scanning regex_matches"); |
4666 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE |
4667 | | |
4668 | | template <typename Range, typename DestCharT> |
4669 | | auto read_specs(Range range, |
4670 | | const detail::format_specs& specs, |
4671 | | basic_regex_matches<DestCharT>& value, |
4672 | | detail::locale_ref = {}) |
4673 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4674 | 0 | { |
4675 | 0 | if constexpr (!std::is_same_v<SourceCharT, DestCharT>) { |
4676 | 0 | return unexpected_scan_error( |
4677 | 0 | scan_error::invalid_scanned_value, |
4678 | 0 | "Cannot transcode is regex_matches_reader"); |
4679 | | } |
4680 | | else if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4681 | | !std::is_same_v<SourceCharT, char>) { |
4682 | | return unexpected_scan_error( |
4683 | | scan_error::invalid_scanned_value, |
4684 | | "Regex backend doesn't support wide strings as input"); |
4685 | | } |
4686 | 0 | else { |
4687 | 0 | if (!is_entire_source_contiguous(range)) { |
4688 | 0 | return unexpected_scan_error( |
4689 | 0 | scan_error::invalid_scanned_value, |
4690 | 0 | "Cannot use regex with a non-contiguous source " |
4691 | 0 | "range"); |
4692 | 0 | } |
4693 | | |
4694 | 0 | auto input = get_as_contiguous(range); |
4695 | 0 | SCN_TRY(it, |
4696 | 0 | impl(input, |
4697 | 0 | specs.type == detail::presentation_type::regex_escaped, |
4698 | 0 | specs.charset_string<SourceCharT>(), |
4699 | 0 | specs.regexp_flags, value)); |
4700 | 0 | return ranges::next(range.begin(), |
4701 | 0 | ranges::distance(input.begin(), it)); |
4702 | 0 | } |
4703 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE |
4704 | | |
4705 | | private: |
4706 | | template <typename Range, typename DestCharT> |
4707 | | auto impl(Range input, |
4708 | | bool is_escaped, |
4709 | | std::basic_string_view<SourceCharT> pattern, |
4710 | | detail::regex_flags flags, |
4711 | | basic_regex_matches<DestCharT>& value) |
4712 | 0 | { |
4713 | | if constexpr (detail::is_type_disabled< |
4714 | | basic_regex_matches<DestCharT>>) { |
4715 | | SCN_EXPECT(false); |
4716 | | SCN_UNREACHABLE; |
4717 | | } |
4718 | 0 | else { |
4719 | 0 | if (is_escaped) { |
4720 | 0 | return read_regex_matches_impl<SourceCharT>( |
4721 | 0 | get_unescaped_regex_pattern(pattern), flags, input, value); |
4722 | 0 | } |
4723 | 0 | return read_regex_matches_impl(pattern, flags, input, value); |
4724 | 0 | } |
4725 | 0 | } Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<char>::impl<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<char>::impl<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, char>(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<wchar_t>::impl<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, bool, std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<wchar_t>::impl<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, bool, std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<wchar_t>&) |
4726 | | }; |
4727 | | |
4728 | | template <typename CharT> |
4729 | | struct reader_impl_for_regex_matches : public regex_matches_reader<CharT> {}; |
4730 | | |
4731 | | ///////////////////////////////////////////////////////////////// |
4732 | | // String reader |
4733 | | ///////////////////////////////////////////////////////////////// |
4734 | | |
4735 | | template <typename Range, typename Iterator, typename ValueCharT> |
4736 | | auto read_string_impl(Range range, |
4737 | | Iterator&& result, |
4738 | | std::basic_string<ValueCharT>& value) |
4739 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4740 | 12.7k | { |
4741 | 12.7k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4742 | | |
4743 | 12.7k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); |
4744 | 12.7k | if (!validate_unicode(src.view())) { |
4745 | 3.23k | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4746 | 3.23k | "Invalid encoding in scanned string"); |
4747 | 3.23k | } |
4748 | 9.55k | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); |
4749 | 9.55k | SCN_UNLIKELY(!e)) { |
4750 | 0 | return unexpected(e); |
4751 | 0 | } |
4752 | | |
4753 | 9.55k | return SCN_MOVE(result); |
4754 | 9.55k | } Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 368 | { | 4741 | 368 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 368 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 368 | if (!validate_unicode(src.view())) { | 4745 | 128 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 128 | "Invalid encoding in scanned string"); | 4747 | 128 | } | 4748 | 240 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 240 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 240 | return SCN_MOVE(result); | 4754 | 240 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 246 | { | 4741 | 246 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 246 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 246 | if (!validate_unicode(src.view())) { | 4745 | 76 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 76 | "Invalid encoding in scanned string"); | 4747 | 76 | } | 4748 | 170 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 170 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 170 | return SCN_MOVE(result); | 4754 | 170 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.03k | { | 4741 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.03k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.03k | if (!validate_unicode(src.view())) { | 4745 | 332 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 332 | "Invalid encoding in scanned string"); | 4747 | 332 | } | 4748 | 700 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 700 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 700 | return SCN_MOVE(result); | 4754 | 700 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 2.36k | { | 4741 | 2.36k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 2.36k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 2.36k | if (!validate_unicode(src.view())) { | 4745 | 320 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 320 | "Invalid encoding in scanned string"); | 4747 | 320 | } | 4748 | 2.04k | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 2.04k | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 2.04k | return SCN_MOVE(result); | 4754 | 2.04k | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 368 | { | 4741 | 368 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 368 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 368 | if (!validate_unicode(src.view())) { | 4745 | 128 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 128 | "Invalid encoding in scanned string"); | 4747 | 128 | } | 4748 | 240 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 240 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 240 | return SCN_MOVE(result); | 4754 | 240 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 246 | { | 4741 | 246 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 246 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 246 | if (!validate_unicode(src.view())) { | 4745 | 76 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 76 | "Invalid encoding in scanned string"); | 4747 | 76 | } | 4748 | 170 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 170 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 170 | return SCN_MOVE(result); | 4754 | 170 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.03k | { | 4741 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.03k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.03k | if (!validate_unicode(src.view())) { | 4745 | 332 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 332 | "Invalid encoding in scanned string"); | 4747 | 332 | } | 4748 | 700 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 700 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 700 | return SCN_MOVE(result); | 4754 | 700 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 2.36k | { | 4741 | 2.36k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 2.36k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 2.36k | if (!validate_unicode(src.view())) { | 4745 | 320 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 320 | "Invalid encoding in scanned string"); | 4747 | 320 | } | 4748 | 2.04k | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 2.04k | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 2.04k | return SCN_MOVE(result); | 4754 | 2.04k | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 198 | { | 4741 | 198 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 198 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 198 | if (!validate_unicode(src.view())) { | 4745 | 108 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 108 | "Invalid encoding in scanned string"); | 4747 | 108 | } | 4748 | 90 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 90 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 90 | return SCN_MOVE(result); | 4754 | 90 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 84 | { | 4741 | 84 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 84 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 84 | if (!validate_unicode(src.view())) { | 4745 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 0 | "Invalid encoding in scanned string"); | 4747 | 0 | } | 4748 | 84 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 84 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 84 | return SCN_MOVE(result); | 4754 | 84 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.00k | { | 4741 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.00k | if (!validate_unicode(src.view())) { | 4745 | 366 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 366 | "Invalid encoding in scanned string"); | 4747 | 366 | } | 4748 | 634 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 634 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 634 | return SCN_MOVE(result); | 4754 | 634 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 1.09k | { | 4741 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.09k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.09k | if (!validate_unicode(src.view())) { | 4745 | 288 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 288 | "Invalid encoding in scanned string"); | 4747 | 288 | } | 4748 | 810 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 810 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 810 | return SCN_MOVE(result); | 4754 | 810 | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 198 | { | 4741 | 198 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 198 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 198 | if (!validate_unicode(src.view())) { | 4745 | 108 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 108 | "Invalid encoding in scanned string"); | 4747 | 108 | } | 4748 | 90 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 90 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 90 | return SCN_MOVE(result); | 4754 | 90 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 84 | { | 4741 | 84 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 84 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 84 | if (!validate_unicode(src.view())) { | 4745 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 0 | "Invalid encoding in scanned string"); | 4747 | 0 | } | 4748 | 84 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 84 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 84 | return SCN_MOVE(result); | 4754 | 84 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.00k | { | 4741 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.00k | if (!validate_unicode(src.view())) { | 4745 | 366 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 366 | "Invalid encoding in scanned string"); | 4747 | 366 | } | 4748 | 634 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 634 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 634 | return SCN_MOVE(result); | 4754 | 634 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 1.09k | { | 4741 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.09k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.09k | if (!validate_unicode(src.view())) { | 4745 | 288 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 288 | "Invalid encoding in scanned string"); | 4747 | 288 | } | 4748 | 810 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 810 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 810 | return SCN_MOVE(result); | 4754 | 810 | } |
|
4755 | | |
4756 | | template <typename Range, typename Iterator, typename ValueCharT> |
4757 | | auto read_string_view_impl(Range range, |
4758 | | Iterator&& result, |
4759 | | std::basic_string_view<ValueCharT>& value) |
4760 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4761 | 6.39k | { |
4762 | 6.39k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4763 | | |
4764 | 6.39k | auto src = [&]() { |
4765 | 6.39k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { |
4766 | 896 | return make_contiguous_buffer( |
4767 | 896 | ranges::subrange{range.begin().base(), result.base()}); |
4768 | | } |
4769 | 5.49k | else { |
4770 | 5.49k | return make_contiguous_buffer( |
4771 | 5.49k | ranges::subrange{range.begin(), result}); |
4772 | 5.49k | } |
4773 | 6.39k | }(); Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 368 | auto src = [&]() { | 4765 | 368 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 368 | return make_contiguous_buffer( | 4767 | 368 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 368 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 246 | auto src = [&]() { | 4765 | 246 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 246 | return make_contiguous_buffer( | 4767 | 246 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 246 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 1.03k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 1.03k | else { | 4770 | 1.03k | return make_contiguous_buffer( | 4771 | 1.03k | ranges::subrange{range.begin(), result}); | 4772 | 1.03k | } | 4773 | 1.03k | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 2.36k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 2.36k | else { | 4770 | 2.36k | return make_contiguous_buffer( | 4771 | 2.36k | ranges::subrange{range.begin(), result}); | 4772 | 2.36k | } | 4773 | 2.36k | }(); |
Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 198 | auto src = [&]() { | 4765 | 198 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 198 | return make_contiguous_buffer( | 4767 | 198 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 198 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 84 | auto src = [&]() { | 4765 | 84 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 84 | return make_contiguous_buffer( | 4767 | 84 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 84 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 1.00k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 1.00k | else { | 4770 | 1.00k | return make_contiguous_buffer( | 4771 | 1.00k | ranges::subrange{range.begin(), result}); | 4772 | 1.00k | } | 4773 | 1.00k | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 1.09k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 1.09k | else { | 4770 | 1.09k | return make_contiguous_buffer( | 4771 | 1.09k | ranges::subrange{range.begin(), result}); | 4772 | 1.09k | } | 4773 | 1.09k | }(); |
|
4774 | 6.39k | using src_type = decltype(src); |
4775 | | |
4776 | 6.39k | if (src.stores_allocated_string()) { |
4777 | 0 | return unexpected_scan_error( |
4778 | 0 | scan_error::invalid_scanned_value, |
4779 | 0 | "Cannot read a string_view from this source range (not " |
4780 | 0 | "contiguous)"); |
4781 | 0 | } |
4782 | 6.39k | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { |
4783 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4784 | 0 | "Cannot read a string_view from " |
4785 | 0 | "this source range (would require " |
4786 | 0 | "transcoding)"); |
4787 | | } |
4788 | 6.39k | else { |
4789 | 6.39k | const auto view = src.view(); |
4790 | 6.39k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); |
4791 | | |
4792 | 6.39k | if (!validate_unicode(value)) { |
4793 | 1.61k | return unexpected_scan_error( |
4794 | 1.61k | scan_error::invalid_scanned_value, |
4795 | 1.61k | "Invalid encoding in scanned string_view"); |
4796 | 1.61k | } |
4797 | | |
4798 | 4.77k | return SCN_MOVE(result); |
4799 | 6.39k | } |
4800 | 6.39k | } Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4761 | 368 | { | 4762 | 368 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 368 | auto src = [&]() { | 4765 | 368 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 368 | return make_contiguous_buffer( | 4767 | 368 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 368 | } | 4769 | 368 | else { | 4770 | 368 | return make_contiguous_buffer( | 4771 | 368 | ranges::subrange{range.begin(), result}); | 4772 | 368 | } | 4773 | 368 | }(); | 4774 | 368 | using src_type = decltype(src); | 4775 | | | 4776 | 368 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 368 | else { | 4789 | 368 | const auto view = src.view(); | 4790 | 368 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 368 | if (!validate_unicode(value)) { | 4793 | 128 | return unexpected_scan_error( | 4794 | 128 | scan_error::invalid_scanned_value, | 4795 | 128 | "Invalid encoding in scanned string_view"); | 4796 | 128 | } | 4797 | | | 4798 | 240 | return SCN_MOVE(result); | 4799 | 368 | } | 4800 | 368 | } |
_ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4761 | 246 | { | 4762 | 246 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 246 | auto src = [&]() { | 4765 | 246 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 246 | return make_contiguous_buffer( | 4767 | 246 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 246 | } | 4769 | 246 | else { | 4770 | 246 | return make_contiguous_buffer( | 4771 | 246 | ranges::subrange{range.begin(), result}); | 4772 | 246 | } | 4773 | 246 | }(); | 4774 | 246 | using src_type = decltype(src); | 4775 | | | 4776 | 246 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 246 | else { | 4789 | 246 | const auto view = src.view(); | 4790 | 246 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 246 | if (!validate_unicode(value)) { | 4793 | 76 | return unexpected_scan_error( | 4794 | 76 | scan_error::invalid_scanned_value, | 4795 | 76 | "Invalid encoding in scanned string_view"); | 4796 | 76 | } | 4797 | | | 4798 | 170 | return SCN_MOVE(result); | 4799 | 246 | } | 4800 | 246 | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4761 | 1.03k | { | 4762 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 1.03k | auto src = [&]() { | 4765 | 1.03k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 1.03k | return make_contiguous_buffer( | 4767 | 1.03k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 1.03k | } | 4769 | 1.03k | else { | 4770 | 1.03k | return make_contiguous_buffer( | 4771 | 1.03k | ranges::subrange{range.begin(), result}); | 4772 | 1.03k | } | 4773 | 1.03k | }(); | 4774 | 1.03k | using src_type = decltype(src); | 4775 | | | 4776 | 1.03k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 1.03k | else { | 4789 | 1.03k | const auto view = src.view(); | 4790 | 1.03k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 1.03k | if (!validate_unicode(value)) { | 4793 | 332 | return unexpected_scan_error( | 4794 | 332 | scan_error::invalid_scanned_value, | 4795 | 332 | "Invalid encoding in scanned string_view"); | 4796 | 332 | } | 4797 | | | 4798 | 700 | return SCN_MOVE(result); | 4799 | 1.03k | } | 4800 | 1.03k | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4761 | 2.36k | { | 4762 | 2.36k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 2.36k | auto src = [&]() { | 4765 | 2.36k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 2.36k | return make_contiguous_buffer( | 4767 | 2.36k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 2.36k | } | 4769 | 2.36k | else { | 4770 | 2.36k | return make_contiguous_buffer( | 4771 | 2.36k | ranges::subrange{range.begin(), result}); | 4772 | 2.36k | } | 4773 | 2.36k | }(); | 4774 | 2.36k | using src_type = decltype(src); | 4775 | | | 4776 | 2.36k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 2.36k | else { | 4789 | 2.36k | const auto view = src.view(); | 4790 | 2.36k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 2.36k | if (!validate_unicode(value)) { | 4793 | 320 | return unexpected_scan_error( | 4794 | 320 | scan_error::invalid_scanned_value, | 4795 | 320 | "Invalid encoding in scanned string_view"); | 4796 | 320 | } | 4797 | | | 4798 | 2.04k | return SCN_MOVE(result); | 4799 | 2.36k | } | 4800 | 2.36k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4761 | 198 | { | 4762 | 198 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 198 | auto src = [&]() { | 4765 | 198 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 198 | return make_contiguous_buffer( | 4767 | 198 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 198 | } | 4769 | 198 | else { | 4770 | 198 | return make_contiguous_buffer( | 4771 | 198 | ranges::subrange{range.begin(), result}); | 4772 | 198 | } | 4773 | 198 | }(); | 4774 | 198 | using src_type = decltype(src); | 4775 | | | 4776 | 198 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 198 | else { | 4789 | 198 | const auto view = src.view(); | 4790 | 198 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 198 | if (!validate_unicode(value)) { | 4793 | 108 | return unexpected_scan_error( | 4794 | 108 | scan_error::invalid_scanned_value, | 4795 | 108 | "Invalid encoding in scanned string_view"); | 4796 | 108 | } | 4797 | | | 4798 | 90 | return SCN_MOVE(result); | 4799 | 198 | } | 4800 | 198 | } |
_ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4761 | 84 | { | 4762 | 84 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 84 | auto src = [&]() { | 4765 | 84 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 84 | return make_contiguous_buffer( | 4767 | 84 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 84 | } | 4769 | 84 | else { | 4770 | 84 | return make_contiguous_buffer( | 4771 | 84 | ranges::subrange{range.begin(), result}); | 4772 | 84 | } | 4773 | 84 | }(); | 4774 | 84 | using src_type = decltype(src); | 4775 | | | 4776 | 84 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 84 | else { | 4789 | 84 | const auto view = src.view(); | 4790 | 84 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 84 | if (!validate_unicode(value)) { | 4793 | 0 | return unexpected_scan_error( | 4794 | 0 | scan_error::invalid_scanned_value, | 4795 | 0 | "Invalid encoding in scanned string_view"); | 4796 | 0 | } | 4797 | | | 4798 | 84 | return SCN_MOVE(result); | 4799 | 84 | } | 4800 | 84 | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4761 | 1.00k | { | 4762 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 1.00k | auto src = [&]() { | 4765 | 1.00k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 1.00k | return make_contiguous_buffer( | 4767 | 1.00k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 1.00k | } | 4769 | 1.00k | else { | 4770 | 1.00k | return make_contiguous_buffer( | 4771 | 1.00k | ranges::subrange{range.begin(), result}); | 4772 | 1.00k | } | 4773 | 1.00k | }(); | 4774 | 1.00k | using src_type = decltype(src); | 4775 | | | 4776 | 1.00k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 1.00k | else { | 4789 | 1.00k | const auto view = src.view(); | 4790 | 1.00k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 1.00k | if (!validate_unicode(value)) { | 4793 | 366 | return unexpected_scan_error( | 4794 | 366 | scan_error::invalid_scanned_value, | 4795 | 366 | "Invalid encoding in scanned string_view"); | 4796 | 366 | } | 4797 | | | 4798 | 634 | return SCN_MOVE(result); | 4799 | 1.00k | } | 4800 | 1.00k | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4761 | 1.09k | { | 4762 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 1.09k | auto src = [&]() { | 4765 | 1.09k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 1.09k | return make_contiguous_buffer( | 4767 | 1.09k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 1.09k | } | 4769 | 1.09k | else { | 4770 | 1.09k | return make_contiguous_buffer( | 4771 | 1.09k | ranges::subrange{range.begin(), result}); | 4772 | 1.09k | } | 4773 | 1.09k | }(); | 4774 | 1.09k | using src_type = decltype(src); | 4775 | | | 4776 | 1.09k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 1.09k | else { | 4789 | 1.09k | const auto view = src.view(); | 4790 | 1.09k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 1.09k | if (!validate_unicode(value)) { | 4793 | 288 | return unexpected_scan_error( | 4794 | 288 | scan_error::invalid_scanned_value, | 4795 | 288 | "Invalid encoding in scanned string_view"); | 4796 | 288 | } | 4797 | | | 4798 | 810 | return SCN_MOVE(result); | 4799 | 1.09k | } | 4800 | 1.09k | } |
|
4801 | | |
4802 | | template <typename SourceCharT> |
4803 | | class word_reader_impl { |
4804 | | public: |
4805 | | template <typename Range, typename ValueCharT> |
4806 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4807 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4808 | 4.73k | { |
4809 | 4.73k | return read_string_impl(range, read_until_classic_space(range), value); |
4810 | 4.73k | } Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 268 | { | 4809 | 268 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 268 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 974 | { | 4809 | 974 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 974 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 268 | { | 4809 | 268 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 268 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 974 | { | 4809 | 974 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 974 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 162 | { | 4809 | 162 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 162 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 964 | { | 4809 | 964 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 964 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 162 | { | 4809 | 162 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 162 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 964 | { | 4809 | 964 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 964 | } |
|
4811 | | |
4812 | | template <typename Range, typename ValueCharT> |
4813 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4814 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4815 | 2.36k | { |
4816 | 2.36k | return read_string_view_impl(range, read_until_classic_space(range), |
4817 | 2.36k | value); |
4818 | 2.36k | } Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4815 | 268 | { | 4816 | 268 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 268 | value); | 4818 | 268 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4815 | 974 | { | 4816 | 974 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 974 | value); | 4818 | 974 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4815 | 162 | { | 4816 | 162 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 162 | value); | 4818 | 162 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4815 | 964 | { | 4816 | 964 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 964 | value); | 4818 | 964 | } |
|
4819 | | }; |
4820 | | |
4821 | | template <typename SourceCharT> |
4822 | | class custom_word_reader_impl { |
4823 | | public: |
4824 | | template <typename Range, typename ValueCharT> |
4825 | | auto read(Range range, |
4826 | | const detail::format_specs& specs, |
4827 | | std::basic_string<ValueCharT>& value) |
4828 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4829 | 364 | { |
4830 | 364 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4831 | 240 | return read_string_impl( |
4832 | 240 | range, |
4833 | 240 | read_until_code_unit( |
4834 | 240 | range, |
4835 | 240 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4836 | 4.12k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 782 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 442 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 782 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 442 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 350 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 486 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 350 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 486 | SourceCharT ch) { return ch == until; }), |
|
4837 | 240 | value); |
4838 | 240 | } |
4839 | 124 | return read_string_impl( |
4840 | 124 | range, |
4841 | 124 | read_until_code_units( |
4842 | 124 | range, specs.fill.template get_code_units<SourceCharT>()), |
4843 | 124 | value); |
4844 | 364 | } Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 68 | { | 4830 | 68 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 34 | return read_string_impl( | 4832 | 34 | range, | 4833 | 34 | read_until_code_unit( | 4834 | 34 | range, | 4835 | 34 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 34 | SourceCharT ch) { return ch == until; }), | 4837 | 34 | value); | 4838 | 34 | } | 4839 | 34 | return read_string_impl( | 4840 | 34 | range, | 4841 | 34 | read_until_code_units( | 4842 | 34 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 34 | value); | 4844 | 68 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 58 | { | 4830 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 28 | return read_string_impl( | 4840 | 28 | range, | 4841 | 28 | read_until_code_units( | 4842 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 28 | value); | 4844 | 58 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 68 | { | 4830 | 68 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 34 | return read_string_impl( | 4832 | 34 | range, | 4833 | 34 | read_until_code_unit( | 4834 | 34 | range, | 4835 | 34 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 34 | SourceCharT ch) { return ch == until; }), | 4837 | 34 | value); | 4838 | 34 | } | 4839 | 34 | return read_string_impl( | 4840 | 34 | range, | 4841 | 34 | read_until_code_units( | 4842 | 34 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 34 | value); | 4844 | 68 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 58 | { | 4830 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 28 | return read_string_impl( | 4840 | 28 | range, | 4841 | 28 | read_until_code_units( | 4842 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 28 | value); | 4844 | 58 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 20 | { | 4830 | 20 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 20 | return read_string_impl( | 4832 | 20 | range, | 4833 | 20 | read_until_code_unit( | 4834 | 20 | range, | 4835 | 20 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 20 | SourceCharT ch) { return ch == until; }), | 4837 | 20 | value); | 4838 | 20 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 20 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 36 | { | 4830 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 36 | return read_string_impl( | 4832 | 36 | range, | 4833 | 36 | read_until_code_unit( | 4834 | 36 | range, | 4835 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 36 | SourceCharT ch) { return ch == until; }), | 4837 | 36 | value); | 4838 | 36 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 20 | { | 4830 | 20 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 20 | return read_string_impl( | 4832 | 20 | range, | 4833 | 20 | read_until_code_unit( | 4834 | 20 | range, | 4835 | 20 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 20 | SourceCharT ch) { return ch == until; }), | 4837 | 20 | value); | 4838 | 20 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 20 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 36 | { | 4830 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 36 | return read_string_impl( | 4832 | 36 | range, | 4833 | 36 | read_until_code_unit( | 4834 | 36 | range, | 4835 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 36 | SourceCharT ch) { return ch == until; }), | 4837 | 36 | value); | 4838 | 36 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 36 | } |
|
4845 | | |
4846 | | template <typename Range, typename ValueCharT> |
4847 | | auto read(Range range, |
4848 | | const detail::format_specs& specs, |
4849 | | std::basic_string_view<ValueCharT>& value) |
4850 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4851 | 182 | { |
4852 | 182 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4853 | 120 | return read_string_view_impl( |
4854 | 120 | range, |
4855 | 120 | read_until_code_unit( |
4856 | 120 | range, |
4857 | 120 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4858 | 2.06k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Line | Count | Source | 4858 | 782 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Line | Count | Source | 4858 | 442 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Line | Count | Source | 4858 | 350 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Line | Count | Source | 4858 | 486 | SourceCharT ch) { return ch == until; }), |
|
4859 | 120 | value); |
4860 | 120 | } |
4861 | 62 | return read_string_view_impl( |
4862 | 62 | range, |
4863 | 62 | read_until_code_units( |
4864 | 62 | range, specs.fill.template get_code_units<SourceCharT>()), |
4865 | 62 | value); |
4866 | 182 | } Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4851 | 68 | { | 4852 | 68 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 34 | return read_string_view_impl( | 4854 | 34 | range, | 4855 | 34 | read_until_code_unit( | 4856 | 34 | range, | 4857 | 34 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 34 | SourceCharT ch) { return ch == until; }), | 4859 | 34 | value); | 4860 | 34 | } | 4861 | 34 | return read_string_view_impl( | 4862 | 34 | range, | 4863 | 34 | read_until_code_units( | 4864 | 34 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 34 | value); | 4866 | 68 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4851 | 58 | { | 4852 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 30 | return read_string_view_impl( | 4854 | 30 | range, | 4855 | 30 | read_until_code_unit( | 4856 | 30 | range, | 4857 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 30 | SourceCharT ch) { return ch == until; }), | 4859 | 30 | value); | 4860 | 30 | } | 4861 | 28 | return read_string_view_impl( | 4862 | 28 | range, | 4863 | 28 | read_until_code_units( | 4864 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 28 | value); | 4866 | 58 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4851 | 20 | { | 4852 | 20 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 20 | return read_string_view_impl( | 4854 | 20 | range, | 4855 | 20 | read_until_code_unit( | 4856 | 20 | range, | 4857 | 20 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 20 | SourceCharT ch) { return ch == until; }), | 4859 | 20 | value); | 4860 | 20 | } | 4861 | 0 | return read_string_view_impl( | 4862 | 0 | range, | 4863 | 0 | read_until_code_units( | 4864 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 0 | value); | 4866 | 20 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4851 | 36 | { | 4852 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 36 | return read_string_view_impl( | 4854 | 36 | range, | 4855 | 36 | read_until_code_unit( | 4856 | 36 | range, | 4857 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 36 | SourceCharT ch) { return ch == until; }), | 4859 | 36 | value); | 4860 | 36 | } | 4861 | 0 | return read_string_view_impl( | 4862 | 0 | range, | 4863 | 0 | read_until_code_units( | 4864 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 0 | value); | 4866 | 36 | } |
|
4867 | | }; |
4868 | | |
4869 | | #if !SCN_DISABLE_REGEX |
4870 | | template <typename SourceCharT> |
4871 | | class regex_string_reader_impl { |
4872 | | public: |
4873 | | template <typename Range, typename ValueCharT> |
4874 | | auto read(Range range, |
4875 | | std::basic_string_view<SourceCharT> pattern, |
4876 | | detail::regex_flags flags, |
4877 | | std::basic_string<ValueCharT>& value) |
4878 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4879 | 31.8k | { |
4880 | 31.8k | SCN_TRY(it, impl(range, pattern, flags)); |
4881 | 4.55k | return read_string_impl(range, it, value); |
4882 | 31.8k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 546 | { | 4880 | 546 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 546 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 10.8k | { | 4880 | 10.8k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 1.31k | return read_string_impl(range, it, value); | 4882 | 10.8k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 546 | { | 4880 | 546 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 546 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 10.8k | { | 4880 | 10.8k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 1.31k | return read_string_impl(range, it, value); | 4882 | 10.8k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 6 | { | 4880 | 6 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 6 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 4.45k | { | 4880 | 4.45k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 968 | return read_string_impl(range, it, value); | 4882 | 4.45k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 6 | { | 4880 | 6 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 6 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 4.45k | { | 4880 | 4.45k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 968 | return read_string_impl(range, it, value); | 4882 | 4.45k | } |
|
4883 | | |
4884 | | template <typename Range, typename ValueCharT> |
4885 | | auto read(Range range, |
4886 | | std::basic_string_view<SourceCharT> pattern, |
4887 | | detail::regex_flags flags, |
4888 | | std::basic_string_view<ValueCharT>& value) |
4889 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4890 | 15.9k | { |
4891 | 15.9k | SCN_TRY(it, impl(range, pattern, flags)); |
4892 | 2.27k | return read_string_view_impl(range, it, value); |
4893 | 15.9k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4890 | 546 | { | 4891 | 546 | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 0 | return read_string_view_impl(range, it, value); | 4893 | 546 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4890 | 10.8k | { | 4891 | 10.8k | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 1.31k | return read_string_view_impl(range, it, value); | 4893 | 10.8k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4890 | 6 | { | 4891 | 6 | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 0 | return read_string_view_impl(range, it, value); | 4893 | 6 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4890 | 4.45k | { | 4891 | 4.45k | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 968 | return read_string_view_impl(range, it, value); | 4893 | 4.45k | } |
|
4894 | | |
4895 | | private: |
4896 | | template <typename Range> |
4897 | | auto impl(Range range, |
4898 | | std::basic_string_view<SourceCharT> pattern, |
4899 | | detail::regex_flags flags) |
4900 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4901 | 47.7k | { |
4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4903 | | !std::is_same_v<SourceCharT, char>) { |
4904 | | return unexpected_scan_error( |
4905 | | scan_error::invalid_scanned_value, |
4906 | | "Regex backend doesn't support wide strings as input"); |
4907 | | } |
4908 | 47.7k | else { |
4909 | 47.7k | if (!is_entire_source_contiguous(range)) { |
4910 | 1.65k | return unexpected_scan_error( |
4911 | 1.65k | scan_error::invalid_scanned_value, |
4912 | 1.65k | "Cannot use regex with a non-contiguous source " |
4913 | 1.65k | "range"); |
4914 | 1.65k | } |
4915 | | |
4916 | 46.0k | auto input = get_as_contiguous(range); |
4917 | 46.0k | SCN_TRY(it, |
4918 | 6.83k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); |
4919 | 6.83k | return ranges::next(range.begin(), |
4920 | 6.83k | ranges::distance(input.begin(), it)); |
4921 | 46.0k | } |
4922 | 47.7k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsE _ZN3scn2v34impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 1.63k | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 1.63k | else { | 4909 | 1.63k | if (!is_entire_source_contiguous(range)) { | 4910 | 1.63k | return unexpected_scan_error( | 4911 | 1.63k | scan_error::invalid_scanned_value, | 4912 | 1.63k | "Cannot use regex with a non-contiguous source " | 4913 | 1.63k | "range"); | 4914 | 1.63k | } | 4915 | | | 4916 | 0 | auto input = get_as_contiguous(range); | 4917 | 0 | SCN_TRY(it, | 4918 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 0 | return ranges::next(range.begin(), | 4920 | 0 | ranges::distance(input.begin(), it)); | 4921 | 0 | } | 4922 | 1.63k | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 32.6k | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 32.6k | else { | 4909 | 32.6k | if (!is_entire_source_contiguous(range)) { | 4910 | 0 | return unexpected_scan_error( | 4911 | 0 | scan_error::invalid_scanned_value, | 4912 | 0 | "Cannot use regex with a non-contiguous source " | 4913 | 0 | "range"); | 4914 | 0 | } | 4915 | | | 4916 | 32.6k | auto input = get_as_contiguous(range); | 4917 | 32.6k | SCN_TRY(it, | 4918 | 3.93k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 3.93k | return ranges::next(range.begin(), | 4920 | 3.93k | ranges::distance(input.begin(), it)); | 4921 | 32.6k | } | 4922 | 32.6k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsE _ZN3scn2v34impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 18 | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 18 | else { | 4909 | 18 | if (!is_entire_source_contiguous(range)) { | 4910 | 18 | return unexpected_scan_error( | 4911 | 18 | scan_error::invalid_scanned_value, | 4912 | 18 | "Cannot use regex with a non-contiguous source " | 4913 | 18 | "range"); | 4914 | 18 | } | 4915 | | | 4916 | 0 | auto input = get_as_contiguous(range); | 4917 | 0 | SCN_TRY(it, | 4918 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 0 | return ranges::next(range.begin(), | 4920 | 0 | ranges::distance(input.begin(), it)); | 4921 | 0 | } | 4922 | 18 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 13.3k | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 13.3k | else { | 4909 | 13.3k | if (!is_entire_source_contiguous(range)) { | 4910 | 0 | return unexpected_scan_error( | 4911 | 0 | scan_error::invalid_scanned_value, | 4912 | 0 | "Cannot use regex with a non-contiguous source " | 4913 | 0 | "range"); | 4914 | 0 | } | 4915 | | | 4916 | 13.3k | auto input = get_as_contiguous(range); | 4917 | 13.3k | SCN_TRY(it, | 4918 | 2.90k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 2.90k | return ranges::next(range.begin(), | 4920 | 2.90k | ranges::distance(input.begin(), it)); | 4921 | 13.3k | } | 4922 | 13.3k | } |
|
4923 | | }; |
4924 | | #endif |
4925 | | |
4926 | | template <typename SourceCharT> |
4927 | | class character_reader_impl { |
4928 | | public: |
4929 | | // Note: no localized version, |
4930 | | // since it's equivalent in behavior |
4931 | | |
4932 | | template <typename Range, typename ValueCharT> |
4933 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4934 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4935 | 96 | { |
4936 | 96 | return read_impl( |
4937 | 96 | range, |
4938 | 96 | [&](const auto& rng) { |
4939 | 96 | return read_string_impl(rng, read_all(rng), value); |
4940 | 96 | }, Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 32 | [&](const auto& rng) { | 4939 | 32 | return read_string_impl(rng, read_all(rng), value); | 4940 | 32 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 32 | [&](const auto& rng) { | 4939 | 32 | return read_string_impl(rng, read_all(rng), value); | 4940 | 32 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 16 | [&](const auto& rng) { | 4939 | 16 | return read_string_impl(rng, read_all(rng), value); | 4940 | 16 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 16 | [&](const auto& rng) { | 4939 | 16 | return read_string_impl(rng, read_all(rng), value); | 4940 | 16 | }, |
|
4941 | 96 | detail::priority_tag<1>{}); |
4942 | 96 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 32 | { | 4936 | 32 | return read_impl( | 4937 | 32 | range, | 4938 | 32 | [&](const auto& rng) { | 4939 | 32 | return read_string_impl(rng, read_all(rng), value); | 4940 | 32 | }, | 4941 | 32 | detail::priority_tag<1>{}); | 4942 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 32 | { | 4936 | 32 | return read_impl( | 4937 | 32 | range, | 4938 | 32 | [&](const auto& rng) { | 4939 | 32 | return read_string_impl(rng, read_all(rng), value); | 4940 | 32 | }, | 4941 | 32 | detail::priority_tag<1>{}); | 4942 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 16 | { | 4936 | 16 | return read_impl( | 4937 | 16 | range, | 4938 | 16 | [&](const auto& rng) { | 4939 | 16 | return read_string_impl(rng, read_all(rng), value); | 4940 | 16 | }, | 4941 | 16 | detail::priority_tag<1>{}); | 4942 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 16 | { | 4936 | 16 | return read_impl( | 4937 | 16 | range, | 4938 | 16 | [&](const auto& rng) { | 4939 | 16 | return read_string_impl(rng, read_all(rng), value); | 4940 | 16 | }, | 4941 | 16 | detail::priority_tag<1>{}); | 4942 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE |
4943 | | |
4944 | | template <typename Range, typename ValueCharT> |
4945 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4946 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4947 | 48 | { |
4948 | 48 | return read_impl( |
4949 | 48 | range, |
4950 | 48 | [&](const auto& rng) { |
4951 | 48 | return read_string_view_impl(rng, read_all(rng), value); |
4952 | 48 | }, Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 4950 | 32 | [&](const auto& rng) { | 4951 | 32 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 32 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 4950 | 16 | [&](const auto& rng) { | 4951 | 16 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 16 | }, |
|
4953 | 48 | detail::priority_tag<1>{}); |
4954 | 48 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4947 | 32 | { | 4948 | 32 | return read_impl( | 4949 | 32 | range, | 4950 | 32 | [&](const auto& rng) { | 4951 | 32 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 32 | }, | 4953 | 32 | detail::priority_tag<1>{}); | 4954 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4947 | 16 | { | 4948 | 16 | return read_impl( | 4949 | 16 | range, | 4950 | 16 | [&](const auto& rng) { | 4951 | 16 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 16 | }, | 4953 | 16 | detail::priority_tag<1>{}); | 4954 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE |
4955 | | |
4956 | | private: |
4957 | | template <typename View, typename ReadCb> |
4958 | | static auto read_impl(const take_width_view<View>& range, |
4959 | | ReadCb&& read_cb, |
4960 | | detail::priority_tag<1>) |
4961 | | -> scan_expected<ranges::const_iterator_t<take_width_view<View>&>> |
4962 | 144 | { |
4963 | 144 | return read_cb(range); |
4964 | 144 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 32 | { | 4963 | 32 | return read_cb(range); | 4964 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 32 | { | 4963 | 32 | return read_cb(range); | 4964 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 32 | { | 4963 | 32 | return read_cb(range); | 4964 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 16 | { | 4963 | 16 | return read_cb(range); | 4964 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 16 | { | 4963 | 16 | return read_cb(range); | 4964 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 16 | { | 4963 | 16 | return read_cb(range); | 4964 | 16 | } |
|
4965 | | |
4966 | | template <typename Range, typename ReadCb> |
4967 | | static auto read_impl(Range, ReadCb&&, detail::priority_tag<0>) |
4968 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4969 | 0 | { |
4970 | 0 | return unexpected_scan_error( |
4971 | 0 | scan_error::invalid_scanned_value, |
4972 | 0 | "character_reader requires take_width_view"); |
4973 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE |
4974 | | }; |
4975 | | |
4976 | | struct nonascii_specs_handler { |
4977 | | void on_charset_single(char32_t cp) |
4978 | 938k | { |
4979 | 938k | on_charset_range(cp, cp + 1); |
4980 | 938k | } |
4981 | | |
4982 | | void on_charset_range(char32_t begin, char32_t end) |
4983 | 943k | { |
4984 | 943k | if (end <= 127) { |
4985 | 531k | return; |
4986 | 531k | } |
4987 | | |
4988 | 70.9M | for (auto& elem : extra_ranges) { |
4989 | | // TODO: check for overlap |
4990 | 70.9M | if (elem.first == end) { |
4991 | 1.26k | elem.first = begin; |
4992 | 1.26k | return; |
4993 | 1.26k | } |
4994 | | |
4995 | 70.9M | if (elem.second == begin) { |
4996 | 4.36k | elem.second = end; |
4997 | 4.36k | return; |
4998 | 4.36k | } |
4999 | 70.9M | } |
5000 | | |
5001 | 406k | extra_ranges.push_back(std::make_pair(begin, end)); |
5002 | 406k | } |
5003 | | |
5004 | | constexpr void on_charset_inverted() const |
5005 | 672 | { |
5006 | | // no-op |
5007 | 672 | } |
5008 | | |
5009 | | constexpr void on_error(const char* msg) |
5010 | 0 | { |
5011 | 0 | on_error(scan_error{scan_error::invalid_format_string, msg}); |
5012 | 0 | } |
5013 | | constexpr void on_error(scan_error e) |
5014 | 0 | { |
5015 | 0 | SCN_UNLIKELY_ATTR |
5016 | 0 | err = e; |
5017 | 0 | } |
5018 | | |
5019 | | constexpr explicit operator bool() const |
5020 | 954k | { |
5021 | 954k | return static_cast<bool>(err); |
5022 | 954k | } |
5023 | | |
5024 | | std::vector<std::pair<char32_t, char32_t>> extra_ranges; |
5025 | | scan_error err; |
5026 | | }; |
5027 | | |
5028 | | template <typename SourceCharT> |
5029 | | class character_set_reader_impl { |
5030 | | public: |
5031 | | template <typename Range, typename ValueCharT> |
5032 | | auto read(Range range, |
5033 | | const detail::format_specs& specs, |
5034 | | std::basic_string<ValueCharT>& value) |
5035 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5036 | 3.90k | { |
5037 | 3.90k | auto it = read_source_impl(range, {specs}); |
5038 | 3.90k | if (SCN_UNLIKELY(!it)) { |
5039 | 868 | return unexpected(it.error()); |
5040 | 868 | } |
5041 | | |
5042 | 3.03k | return read_string_impl(range, *it, value); |
5043 | 3.90k | } Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 258 | { | 5037 | 258 | auto it = read_source_impl(range, {specs}); | 5038 | 258 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 246 | return read_string_impl(range, *it, value); | 5043 | 258 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 1.45k | { | 5037 | 1.45k | auto it = read_source_impl(range, {specs}); | 5038 | 1.45k | if (SCN_UNLIKELY(!it)) { | 5039 | 392 | return unexpected(it.error()); | 5040 | 392 | } | 5041 | | | 5042 | 1.05k | return read_string_impl(range, *it, value); | 5043 | 1.45k | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 258 | { | 5037 | 258 | auto it = read_source_impl(range, {specs}); | 5038 | 258 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 246 | return read_string_impl(range, *it, value); | 5043 | 258 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 1.45k | { | 5037 | 1.45k | auto it = read_source_impl(range, {specs}); | 5038 | 1.45k | if (SCN_UNLIKELY(!it)) { | 5039 | 392 | return unexpected(it.error()); | 5040 | 392 | } | 5041 | | | 5042 | 1.05k | return read_string_impl(range, *it, value); | 5043 | 1.45k | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 96 | { | 5037 | 96 | auto it = read_source_impl(range, {specs}); | 5038 | 96 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 84 | return read_string_impl(range, *it, value); | 5043 | 96 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 148 | { | 5037 | 148 | auto it = read_source_impl(range, {specs}); | 5038 | 148 | if (SCN_UNLIKELY(!it)) { | 5039 | 18 | return unexpected(it.error()); | 5040 | 18 | } | 5041 | | | 5042 | 130 | return read_string_impl(range, *it, value); | 5043 | 148 | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 96 | { | 5037 | 96 | auto it = read_source_impl(range, {specs}); | 5038 | 96 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 84 | return read_string_impl(range, *it, value); | 5043 | 96 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 148 | { | 5037 | 148 | auto it = read_source_impl(range, {specs}); | 5038 | 148 | if (SCN_UNLIKELY(!it)) { | 5039 | 18 | return unexpected(it.error()); | 5040 | 18 | } | 5041 | | | 5042 | 130 | return read_string_impl(range, *it, value); | 5043 | 148 | } |
|
5044 | | |
5045 | | template <typename Range, typename ValueCharT> |
5046 | | auto read(Range range, |
5047 | | const detail::format_specs& specs, |
5048 | | std::basic_string_view<ValueCharT>& value) |
5049 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5050 | 1.95k | { |
5051 | 1.95k | auto it = read_source_impl(range, {specs}); |
5052 | 1.95k | if (SCN_UNLIKELY(!it)) { |
5053 | 434 | return unexpected(it.error()); |
5054 | 434 | } |
5055 | | |
5056 | 1.51k | return read_string_view_impl(range, *it, value); |
5057 | 1.95k | } Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5050 | 258 | { | 5051 | 258 | auto it = read_source_impl(range, {specs}); | 5052 | 258 | if (SCN_UNLIKELY(!it)) { | 5053 | 12 | return unexpected(it.error()); | 5054 | 12 | } | 5055 | | | 5056 | 246 | return read_string_view_impl(range, *it, value); | 5057 | 258 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5050 | 1.45k | { | 5051 | 1.45k | auto it = read_source_impl(range, {specs}); | 5052 | 1.45k | if (SCN_UNLIKELY(!it)) { | 5053 | 392 | return unexpected(it.error()); | 5054 | 392 | } | 5055 | | | 5056 | 1.05k | return read_string_view_impl(range, *it, value); | 5057 | 1.45k | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5050 | 96 | { | 5051 | 96 | auto it = read_source_impl(range, {specs}); | 5052 | 96 | if (SCN_UNLIKELY(!it)) { | 5053 | 12 | return unexpected(it.error()); | 5054 | 12 | } | 5055 | | | 5056 | 84 | return read_string_view_impl(range, *it, value); | 5057 | 96 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5050 | 148 | { | 5051 | 148 | auto it = read_source_impl(range, {specs}); | 5052 | 148 | if (SCN_UNLIKELY(!it)) { | 5053 | 18 | return unexpected(it.error()); | 5054 | 18 | } | 5055 | | | 5056 | 130 | return read_string_view_impl(range, *it, value); | 5057 | 148 | } |
|
5058 | | |
5059 | | private: |
5060 | | struct specs_helper { |
5061 | 5.85k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {}scn::v3::impl::character_set_reader_impl<char>::specs_helper::specs_helper(scn::v3::detail::format_specs const&) Line | Count | Source | 5061 | 5.12k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::specs_helper(scn::v3::detail::format_specs const&) Line | Count | Source | 5061 | 732 | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
|
5062 | | |
5063 | | constexpr bool is_char_set_in_literals(char ch) const |
5064 | 642k | { |
5065 | 642k | SCN_EXPECT(is_ascii_char(ch)); |
5066 | 642k | const auto val = |
5067 | 642k | static_cast<unsigned>(static_cast<unsigned char>(ch)); |
5068 | 642k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> |
5069 | 642k | (val % 8)) & |
5070 | 642k | 1u; |
5071 | 642k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5064 | 636k | { | 5065 | 636k | SCN_EXPECT(is_ascii_char(ch)); | 5066 | 636k | const auto val = | 5067 | 636k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5068 | 636k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5069 | 636k | (val % 8)) & | 5070 | 636k | 1u; | 5071 | 636k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5064 | 6.13k | { | 5065 | 6.13k | SCN_EXPECT(is_ascii_char(ch)); | 5066 | 6.13k | const auto val = | 5067 | 6.13k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5068 | 6.13k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5069 | 6.13k | (val % 8)) & | 5070 | 6.13k | 1u; | 5071 | 6.13k | } |
|
5072 | | |
5073 | | bool is_char_set_in_extra_literals(char32_t cp) const |
5074 | 103k | { |
5075 | | // TODO: binary search? |
5076 | 103k | if (nonascii.extra_ranges.empty()) { |
5077 | 0 | return false; |
5078 | 0 | } |
5079 | | |
5080 | 103k | const auto cp_val = static_cast<uint32_t>(cp); |
5081 | 103k | return std::find_if( |
5082 | 103k | nonascii.extra_ranges.begin(), |
5083 | 103k | nonascii.extra_ranges.end(), |
5084 | 17.7M | [cp_val](const auto& pair) noexcept { |
5085 | 17.7M | return static_cast<uint32_t>(pair.first) <= cp_val && |
5086 | 17.7M | static_cast<uint32_t>(pair.second) > cp_val; |
5087 | 17.7M | }) != nonascii.extra_ranges.end(); auto scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5084 | 17.6M | [cp_val](const auto& pair) noexcept { | 5085 | 17.6M | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 17.6M | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 17.6M | }) != nonascii.extra_ranges.end(); |
auto scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5084 | 25.5k | [cp_val](const auto& pair) noexcept { | 5085 | 25.5k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 25.5k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 25.5k | }) != nonascii.extra_ranges.end(); |
|
5088 | 103k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5074 | 101k | { | 5075 | | // TODO: binary search? | 5076 | 101k | if (nonascii.extra_ranges.empty()) { | 5077 | 0 | return false; | 5078 | 0 | } | 5079 | | | 5080 | 101k | const auto cp_val = static_cast<uint32_t>(cp); | 5081 | 101k | return std::find_if( | 5082 | 101k | nonascii.extra_ranges.begin(), | 5083 | 101k | nonascii.extra_ranges.end(), | 5084 | 101k | [cp_val](const auto& pair) noexcept { | 5085 | 101k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 101k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 101k | }) != nonascii.extra_ranges.end(); | 5088 | 101k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5074 | 2.17k | { | 5075 | | // TODO: binary search? | 5076 | 2.17k | if (nonascii.extra_ranges.empty()) { | 5077 | 0 | return false; | 5078 | 0 | } | 5079 | | | 5080 | 2.17k | const auto cp_val = static_cast<uint32_t>(cp); | 5081 | 2.17k | return std::find_if( | 5082 | 2.17k | nonascii.extra_ranges.begin(), | 5083 | 2.17k | nonascii.extra_ranges.end(), | 5084 | 2.17k | [cp_val](const auto& pair) noexcept { | 5085 | 2.17k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 2.17k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 2.17k | }) != nonascii.extra_ranges.end(); | 5088 | 2.17k | } |
|
5089 | | |
5090 | | scan_error handle_nonascii() |
5091 | 5.85k | { |
5092 | 5.85k | if (!specs.charset_has_nonascii) { |
5093 | 786 | return {}; |
5094 | 786 | } |
5095 | | |
5096 | 5.07k | auto charset_string = specs.charset_string<SourceCharT>(); |
5097 | 5.07k | auto it = detail::to_address(charset_string.begin()); |
5098 | 5.07k | auto set = detail::parse_presentation_set( |
5099 | 5.07k | it, detail::to_address(charset_string.end()), nonascii); |
5100 | 5.07k | if (SCN_UNLIKELY(!nonascii)) { |
5101 | 0 | return nonascii.err; |
5102 | 0 | } |
5103 | 5.07k | SCN_ENSURE(it == detail::to_address(charset_string.end())); |
5104 | 5.07k | SCN_ENSURE(set == charset_string); |
5105 | | |
5106 | 5.07k | std::sort(nonascii.extra_ranges.begin(), |
5107 | 5.07k | nonascii.extra_ranges.end()); |
5108 | 5.07k | return {}; |
5109 | 5.07k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::handle_nonascii() Line | Count | Source | 5091 | 5.12k | { | 5092 | 5.12k | if (!specs.charset_has_nonascii) { | 5093 | 588 | return {}; | 5094 | 588 | } | 5095 | | | 5096 | 4.53k | auto charset_string = specs.charset_string<SourceCharT>(); | 5097 | 4.53k | auto it = detail::to_address(charset_string.begin()); | 5098 | 4.53k | auto set = detail::parse_presentation_set( | 5099 | 4.53k | it, detail::to_address(charset_string.end()), nonascii); | 5100 | 4.53k | if (SCN_UNLIKELY(!nonascii)) { | 5101 | 0 | return nonascii.err; | 5102 | 0 | } | 5103 | 4.53k | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5104 | 4.53k | SCN_ENSURE(set == charset_string); | 5105 | | | 5106 | 4.53k | std::sort(nonascii.extra_ranges.begin(), | 5107 | 4.53k | nonascii.extra_ranges.end()); | 5108 | 4.53k | return {}; | 5109 | 4.53k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::handle_nonascii() Line | Count | Source | 5091 | 732 | { | 5092 | 732 | if (!specs.charset_has_nonascii) { | 5093 | 198 | return {}; | 5094 | 198 | } | 5095 | | | 5096 | 534 | auto charset_string = specs.charset_string<SourceCharT>(); | 5097 | 534 | auto it = detail::to_address(charset_string.begin()); | 5098 | 534 | auto set = detail::parse_presentation_set( | 5099 | 534 | it, detail::to_address(charset_string.end()), nonascii); | 5100 | 534 | if (SCN_UNLIKELY(!nonascii)) { | 5101 | 0 | return nonascii.err; | 5102 | 0 | } | 5103 | 534 | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5104 | 534 | SCN_ENSURE(set == charset_string); | 5105 | | | 5106 | 534 | std::sort(nonascii.extra_ranges.begin(), | 5107 | 534 | nonascii.extra_ranges.end()); | 5108 | 534 | return {}; | 5109 | 534 | } |
|
5110 | | |
5111 | | const detail::format_specs& specs; |
5112 | | nonascii_specs_handler nonascii; |
5113 | | }; |
5114 | | |
5115 | | struct read_source_callback { |
5116 | | SCN_NODISCARD bool on_ascii_only(SourceCharT ch) const |
5117 | 11.3k | { |
5118 | 11.3k | if (!is_ascii_char(ch)) { |
5119 | 2.42k | return false; |
5120 | 2.42k | } |
5121 | | |
5122 | 8.93k | return helper.is_char_set_in_literals(static_cast<char>(ch)); |
5123 | 11.3k | } scn::v3::impl::character_set_reader_impl<char>::read_source_callback::on_ascii_only(char) const Line | Count | Source | 5117 | 9.75k | { | 5118 | 9.75k | if (!is_ascii_char(ch)) { | 5119 | 2.41k | return false; | 5120 | 2.41k | } | 5121 | | | 5122 | 7.33k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5123 | 9.75k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_ascii_only(wchar_t) const Line | Count | Source | 5117 | 1.60k | { | 5118 | 1.60k | if (!is_ascii_char(ch)) { | 5119 | 12 | return false; | 5120 | 12 | } | 5121 | | | 5122 | 1.59k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5123 | 1.60k | } |
|
5124 | | |
5125 | | SCN_NODISCARD bool on_classic_with_extra_ranges(char32_t cp) const |
5126 | 736k | { |
5127 | 736k | if (!is_ascii_char(cp)) { |
5128 | 103k | return helper.is_char_set_in_extra_literals(cp); |
5129 | 103k | } |
5130 | | |
5131 | 633k | return helper.is_char_set_in_literals(static_cast<char>(cp)); |
5132 | 736k | } scn::v3::impl::character_set_reader_impl<char>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5126 | 729k | { | 5127 | 729k | if (!is_ascii_char(cp)) { | 5128 | 101k | return helper.is_char_set_in_extra_literals(cp); | 5129 | 101k | } | 5130 | | | 5131 | 628k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5132 | 729k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5126 | 6.71k | { | 5127 | 6.71k | if (!is_ascii_char(cp)) { | 5128 | 2.17k | return helper.is_char_set_in_extra_literals(cp); | 5129 | 2.17k | } | 5130 | | | 5131 | 4.54k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5132 | 6.71k | } |
|
5133 | | |
5134 | | const specs_helper& helper; |
5135 | | detail::locale_ref loc{}; |
5136 | | }; |
5137 | | |
5138 | | template <typename Range> |
5139 | | auto read_source_impl(Range range, specs_helper helper) const |
5140 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5141 | 5.85k | { |
5142 | 5.85k | const bool is_inverted = helper.specs.charset_is_inverted; |
5143 | 5.85k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; |
5144 | | |
5145 | 5.85k | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { |
5146 | 0 | return unexpected(e); |
5147 | 0 | } |
5148 | | |
5149 | 5.85k | read_source_callback cb_wrapper{helper}; |
5150 | | |
5151 | 5.85k | if (accepts_nonascii) { |
5152 | 736k | const auto cb = [&](char32_t cp) { |
5153 | 736k | return cb_wrapper.on_classic_with_extra_ranges(cp); |
5154 | 736k | }; Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 29.3k | const auto cb = [&](char32_t cp) { | 5153 | 29.3k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 29.3k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 700k | const auto cb = [&](char32_t cp) { | 5153 | 700k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 700k | }; |
Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 1.03k | const auto cb = [&](char32_t cp) { | 5153 | 1.03k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 1.03k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 5.67k | const auto cb = [&](char32_t cp) { | 5153 | 5.67k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 5.67k | }; |
|
5155 | | |
5156 | 5.07k | if (is_inverted) { |
5157 | 672 | auto it = read_until_code_point(range, cb); |
5158 | 672 | return check_nonempty(it, range); |
5159 | 672 | } |
5160 | 4.39k | auto it = read_while_code_point(range, cb); |
5161 | 4.39k | return check_nonempty(it, range); |
5162 | 5.07k | } |
5163 | | |
5164 | 11.3k | const auto cb = [&](SourceCharT ch) { |
5165 | 11.3k | return cb_wrapper.on_ascii_only(ch); |
5166 | 11.3k | }; Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlcE_clEc Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlcE_clEc _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5164 | 6.27k | const auto cb = [&](SourceCharT ch) { | 5165 | 6.27k | return cb_wrapper.on_ascii_only(ch); | 5166 | 6.27k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5164 | 3.48k | const auto cb = [&](SourceCharT ch) { | 5165 | 3.48k | return cb_wrapper.on_ascii_only(ch); | 5166 | 3.48k | }; |
Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlwE_clEw Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlwE_clEw _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5164 | 336 | const auto cb = [&](SourceCharT ch) { | 5165 | 336 | return cb_wrapper.on_ascii_only(ch); | 5166 | 336 | }; |
_ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5164 | 1.27k | const auto cb = [&](SourceCharT ch) { | 5165 | 1.27k | return cb_wrapper.on_ascii_only(ch); | 5166 | 1.27k | }; |
|
5167 | | |
5168 | 786 | if (is_inverted) { |
5169 | 384 | auto it = read_until_code_unit(range, cb); |
5170 | 384 | return check_nonempty(it, range); |
5171 | 384 | } |
5172 | 402 | auto it = read_while_code_unit(range, cb); |
5173 | 402 | return check_nonempty(it, range); |
5174 | 786 | } Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5141 | 774 | { | 5142 | 774 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 774 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 774 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 774 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 774 | if (accepts_nonascii) { | 5152 | 462 | const auto cb = [&](char32_t cp) { | 5153 | 462 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 462 | }; | 5155 | | | 5156 | 462 | if (is_inverted) { | 5157 | 150 | auto it = read_until_code_point(range, cb); | 5158 | 150 | return check_nonempty(it, range); | 5159 | 150 | } | 5160 | 312 | auto it = read_while_code_point(range, cb); | 5161 | 312 | return check_nonempty(it, range); | 5162 | 462 | } | 5163 | | | 5164 | 312 | const auto cb = [&](SourceCharT ch) { | 5165 | 312 | return cb_wrapper.on_ascii_only(ch); | 5166 | 312 | }; | 5167 | | | 5168 | 312 | if (is_inverted) { | 5169 | 156 | auto it = read_until_code_unit(range, cb); | 5170 | 156 | return check_nonempty(it, range); | 5171 | 156 | } | 5172 | 156 | auto it = read_while_code_unit(range, cb); | 5173 | 156 | return check_nonempty(it, range); | 5174 | 312 | } |
_ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5141 | 4.35k | { | 5142 | 4.35k | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 4.35k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 4.35k | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 4.35k | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 4.35k | if (accepts_nonascii) { | 5152 | 4.07k | const auto cb = [&](char32_t cp) { | 5153 | 4.07k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 4.07k | }; | 5155 | | | 5156 | 4.07k | if (is_inverted) { | 5157 | 240 | auto it = read_until_code_point(range, cb); | 5158 | 240 | return check_nonempty(it, range); | 5159 | 240 | } | 5160 | 3.83k | auto it = read_while_code_point(range, cb); | 5161 | 3.83k | return check_nonempty(it, range); | 5162 | 4.07k | } | 5163 | | | 5164 | 276 | const auto cb = [&](SourceCharT ch) { | 5165 | 276 | return cb_wrapper.on_ascii_only(ch); | 5166 | 276 | }; | 5167 | | | 5168 | 276 | if (is_inverted) { | 5169 | 120 | auto it = read_until_code_unit(range, cb); | 5170 | 120 | return check_nonempty(it, range); | 5171 | 120 | } | 5172 | 156 | auto it = read_while_code_unit(range, cb); | 5173 | 156 | return check_nonempty(it, range); | 5174 | 276 | } |
Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5141 | 288 | { | 5142 | 288 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 288 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 288 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 288 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 288 | if (accepts_nonascii) { | 5152 | 186 | const auto cb = [&](char32_t cp) { | 5153 | 186 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 186 | }; | 5155 | | | 5156 | 186 | if (is_inverted) { | 5157 | 150 | auto it = read_until_code_point(range, cb); | 5158 | 150 | return check_nonempty(it, range); | 5159 | 150 | } | 5160 | 36 | auto it = read_while_code_point(range, cb); | 5161 | 36 | return check_nonempty(it, range); | 5162 | 186 | } | 5163 | | | 5164 | 102 | const auto cb = [&](SourceCharT ch) { | 5165 | 102 | return cb_wrapper.on_ascii_only(ch); | 5166 | 102 | }; | 5167 | | | 5168 | 102 | if (is_inverted) { | 5169 | 66 | auto it = read_until_code_unit(range, cb); | 5170 | 66 | return check_nonempty(it, range); | 5171 | 66 | } | 5172 | 36 | auto it = read_while_code_unit(range, cb); | 5173 | 36 | return check_nonempty(it, range); | 5174 | 102 | } |
_ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5141 | 444 | { | 5142 | 444 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 444 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 444 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 444 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 444 | if (accepts_nonascii) { | 5152 | 348 | const auto cb = [&](char32_t cp) { | 5153 | 348 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 348 | }; | 5155 | | | 5156 | 348 | if (is_inverted) { | 5157 | 132 | auto it = read_until_code_point(range, cb); | 5158 | 132 | return check_nonempty(it, range); | 5159 | 132 | } | 5160 | 216 | auto it = read_while_code_point(range, cb); | 5161 | 216 | return check_nonempty(it, range); | 5162 | 348 | } | 5163 | | | 5164 | 96 | const auto cb = [&](SourceCharT ch) { | 5165 | 96 | return cb_wrapper.on_ascii_only(ch); | 5166 | 96 | }; | 5167 | | | 5168 | 96 | if (is_inverted) { | 5169 | 42 | auto it = read_until_code_unit(range, cb); | 5170 | 42 | return check_nonempty(it, range); | 5171 | 42 | } | 5172 | 54 | auto it = read_while_code_unit(range, cb); | 5173 | 54 | return check_nonempty(it, range); | 5174 | 96 | } |
|
5175 | | |
5176 | | template <typename Iterator, typename Range> |
5177 | | static scan_expected<Iterator> check_nonempty(const Iterator& it, |
5178 | | Range range) |
5179 | 5.85k | { |
5180 | 5.85k | if (it == range.begin()) { |
5181 | 1.30k | return unexpected_scan_error( |
5182 | 1.30k | scan_error::invalid_scanned_value, |
5183 | 1.30k | "No characters matched in [character set]"); |
5184 | 1.30k | } |
5185 | | |
5186 | 4.55k | return it; |
5187 | 5.85k | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::detail::basic_scan_buffer<char>::forward_iterator const&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 5179 | 774 | { | 5180 | 774 | if (it == range.begin()) { | 5181 | 36 | return unexpected_scan_error( | 5182 | 36 | scan_error::invalid_scanned_value, | 5183 | 36 | "No characters matched in [character set]"); | 5184 | 36 | } | 5185 | | | 5186 | 738 | return it; | 5187 | 774 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::character_set_reader_impl<char>::check_nonempty<char const*, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(char const* const&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 5179 | 4.35k | { | 5180 | 4.35k | if (it == range.begin()) { | 5181 | 1.17k | return unexpected_scan_error( | 5182 | 1.17k | scan_error::invalid_scanned_value, | 5183 | 1.17k | "No characters matched in [character set]"); | 5184 | 1.17k | } | 5185 | | | 5186 | 3.17k | return it; | 5187 | 4.35k | } |
Unexecuted instantiation: scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 5179 | 288 | { | 5180 | 288 | if (it == range.begin()) { | 5181 | 36 | return unexpected_scan_error( | 5182 | 36 | scan_error::invalid_scanned_value, | 5183 | 36 | "No characters matched in [character set]"); | 5184 | 36 | } | 5185 | | | 5186 | 252 | return it; | 5187 | 288 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<wchar_t const*, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(wchar_t const* const&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 5179 | 444 | { | 5180 | 444 | if (it == range.begin()) { | 5181 | 54 | return unexpected_scan_error( | 5182 | 54 | scan_error::invalid_scanned_value, | 5183 | 54 | "No characters matched in [character set]"); | 5184 | 54 | } | 5185 | | | 5186 | 390 | return it; | 5187 | 444 | } |
|
5188 | | }; |
5189 | | |
5190 | | template <typename SourceCharT> |
5191 | | class string_reader |
5192 | | : public reader_base<string_reader<SourceCharT>, SourceCharT> { |
5193 | | public: |
5194 | 62.0k | constexpr string_reader() = default; scn::v3::impl::string_reader<char>::string_reader() Line | Count | Source | 5194 | 44.1k | constexpr string_reader() = default; |
scn::v3::impl::string_reader<wchar_t>::string_reader() Line | Count | Source | 5194 | 17.9k | constexpr string_reader() = default; |
|
5195 | | |
5196 | | void check_specs_impl(const detail::format_specs& specs, |
5197 | | reader_error_handler& eh) |
5198 | 58.2k | { |
5199 | 58.2k | detail::check_string_type_specs(specs, eh); |
5200 | | |
5201 | 58.2k | SCN_GCC_PUSH |
5202 | 58.2k | SCN_GCC_IGNORE("-Wswitch") |
5203 | 58.2k | SCN_GCC_IGNORE("-Wswitch-default") |
5204 | | |
5205 | 58.2k | SCN_CLANG_PUSH |
5206 | 58.2k | SCN_CLANG_IGNORE("-Wswitch") |
5207 | 58.2k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5208 | | |
5209 | 58.2k | switch (specs.type) { |
5210 | 3.09k | case detail::presentation_type::none: |
5211 | 3.09k | m_type = reader_type::word; |
5212 | 3.09k | break; |
5213 | | |
5214 | 834 | case detail::presentation_type::string: { |
5215 | 834 | if (specs.align == detail::align_type::left || |
5216 | 834 | specs.align == detail::align_type::center) { |
5217 | 552 | m_type = reader_type::custom_word; |
5218 | 552 | } |
5219 | 282 | else { |
5220 | 282 | m_type = reader_type::word; |
5221 | 282 | } |
5222 | 834 | break; |
5223 | 0 | } |
5224 | | |
5225 | 156 | case detail::presentation_type::character: |
5226 | 156 | m_type = reader_type::character; |
5227 | 156 | break; |
5228 | | |
5229 | 5.86k | case detail::presentation_type::string_set: |
5230 | 5.86k | m_type = reader_type::character_set; |
5231 | 5.86k | break; |
5232 | | |
5233 | 41.9k | case detail::presentation_type::regex: |
5234 | 41.9k | m_type = reader_type::regex; |
5235 | 41.9k | break; |
5236 | | |
5237 | 5.80k | case detail::presentation_type::regex_escaped: |
5238 | 5.80k | m_type = reader_type::regex_escaped; |
5239 | 5.80k | break; |
5240 | 58.2k | } |
5241 | | |
5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default |
5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default |
5244 | 58.2k | } scn::v3::impl::string_reader<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5198 | 42.1k | { | 5199 | 42.1k | detail::check_string_type_specs(specs, eh); | 5200 | | | 5201 | 42.1k | SCN_GCC_PUSH | 5202 | 42.1k | SCN_GCC_IGNORE("-Wswitch") | 5203 | 42.1k | SCN_GCC_IGNORE("-Wswitch-default") | 5204 | | | 5205 | 42.1k | SCN_CLANG_PUSH | 5206 | 42.1k | SCN_CLANG_IGNORE("-Wswitch") | 5207 | 42.1k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5208 | | | 5209 | 42.1k | switch (specs.type) { | 5210 | 1.59k | case detail::presentation_type::none: | 5211 | 1.59k | m_type = reader_type::word; | 5212 | 1.59k | break; | 5213 | | | 5214 | 612 | case detail::presentation_type::string: { | 5215 | 612 | if (specs.align == detail::align_type::left || | 5216 | 612 | specs.align == detail::align_type::center) { | 5217 | 378 | m_type = reader_type::custom_word; | 5218 | 378 | } | 5219 | 234 | else { | 5220 | 234 | m_type = reader_type::word; | 5221 | 234 | } | 5222 | 612 | break; | 5223 | 0 | } | 5224 | | | 5225 | 102 | case detail::presentation_type::character: | 5226 | 102 | m_type = reader_type::character; | 5227 | 102 | break; | 5228 | | | 5229 | 5.13k | case detail::presentation_type::string_set: | 5230 | 5.13k | m_type = reader_type::character_set; | 5231 | 5.13k | break; | 5232 | | | 5233 | 28.9k | case detail::presentation_type::regex: | 5234 | 28.9k | m_type = reader_type::regex; | 5235 | 28.9k | break; | 5236 | | | 5237 | 5.41k | case detail::presentation_type::regex_escaped: | 5238 | 5.41k | m_type = reader_type::regex_escaped; | 5239 | 5.41k | break; | 5240 | 42.1k | } | 5241 | | | 5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5244 | 42.1k | } |
scn::v3::impl::string_reader<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5198 | 16.1k | { | 5199 | 16.1k | detail::check_string_type_specs(specs, eh); | 5200 | | | 5201 | 16.1k | SCN_GCC_PUSH | 5202 | 16.1k | SCN_GCC_IGNORE("-Wswitch") | 5203 | 16.1k | SCN_GCC_IGNORE("-Wswitch-default") | 5204 | | | 5205 | 16.1k | SCN_CLANG_PUSH | 5206 | 16.1k | SCN_CLANG_IGNORE("-Wswitch") | 5207 | 16.1k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5208 | | | 5209 | 16.1k | switch (specs.type) { | 5210 | 1.50k | case detail::presentation_type::none: | 5211 | 1.50k | m_type = reader_type::word; | 5212 | 1.50k | break; | 5213 | | | 5214 | 222 | case detail::presentation_type::string: { | 5215 | 222 | if (specs.align == detail::align_type::left || | 5216 | 222 | specs.align == detail::align_type::center) { | 5217 | 174 | m_type = reader_type::custom_word; | 5218 | 174 | } | 5219 | 48 | else { | 5220 | 48 | m_type = reader_type::word; | 5221 | 48 | } | 5222 | 222 | break; | 5223 | 0 | } | 5224 | | | 5225 | 54 | case detail::presentation_type::character: | 5226 | 54 | m_type = reader_type::character; | 5227 | 54 | break; | 5228 | | | 5229 | 732 | case detail::presentation_type::string_set: | 5230 | 732 | m_type = reader_type::character_set; | 5231 | 732 | break; | 5232 | | | 5233 | 13.0k | case detail::presentation_type::regex: | 5234 | 13.0k | m_type = reader_type::regex; | 5235 | 13.0k | break; | 5236 | | | 5237 | 390 | case detail::presentation_type::regex_escaped: | 5238 | 390 | m_type = reader_type::regex_escaped; | 5239 | 390 | break; | 5240 | 16.1k | } | 5241 | | | 5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5244 | 16.1k | } |
|
5245 | | |
5246 | | bool skip_ws_before_read() const |
5247 | 71.1k | { |
5248 | 71.1k | return m_type == reader_type::word; |
5249 | 71.1k | } scn::v3::impl::string_reader<char>::skip_ws_before_read() const Line | Count | Source | 5247 | 50.4k | { | 5248 | 50.4k | return m_type == reader_type::word; | 5249 | 50.4k | } |
scn::v3::impl::string_reader<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5247 | 20.6k | { | 5248 | 20.6k | return m_type == reader_type::word; | 5249 | 20.6k | } |
|
5250 | | |
5251 | | template <typename Range, typename Value> |
5252 | | auto read_default(Range range, Value& value, detail::locale_ref loc) |
5253 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5254 | 3.80k | { |
5255 | 3.80k | SCN_UNUSED(loc); |
5256 | 3.80k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5257 | 3.80k | } _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 656 | { | 5255 | 656 | SCN_UNUSED(loc); | 5256 | 656 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 656 | } |
_ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 656 | { | 5255 | 656 | SCN_UNUSED(loc); | 5256 | 656 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 656 | { | 5255 | 656 | SCN_UNUSED(loc); | 5256 | 656 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 612 | { | 5255 | 612 | SCN_UNUSED(loc); | 5256 | 612 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 612 | } |
_ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 612 | { | 5255 | 612 | SCN_UNUSED(loc); | 5256 | 612 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 612 | } |
_ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 612 | { | 5255 | 612 | SCN_UNUSED(loc); | 5256 | 612 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE |
5258 | | |
5259 | | template <typename Range, typename Value> |
5260 | | auto read_specs(Range range, |
5261 | | const detail::format_specs& specs, |
5262 | | Value& value, |
5263 | | detail::locale_ref loc) |
5264 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5265 | 57.5k | { |
5266 | 57.5k | SCN_UNUSED(loc); |
5267 | 57.5k | return read_impl(range, specs, value); |
5268 | 57.5k | } Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 1.17k | { | 5266 | 1.17k | SCN_UNUSED(loc); | 5267 | 1.17k | return read_impl(range, specs, value); | 5268 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 12.7k | { | 5266 | 12.7k | SCN_UNUSED(loc); | 5267 | 12.7k | return read_impl(range, specs, value); | 5268 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 1.17k | { | 5266 | 1.17k | SCN_UNUSED(loc); | 5267 | 1.17k | return read_impl(range, specs, value); | 5268 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 12.7k | { | 5266 | 12.7k | SCN_UNUSED(loc); | 5267 | 12.7k | return read_impl(range, specs, value); | 5268 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 1.17k | { | 5266 | 1.17k | SCN_UNUSED(loc); | 5267 | 1.17k | return read_impl(range, specs, value); | 5268 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5265 | 12.7k | { | 5266 | 12.7k | SCN_UNUSED(loc); | 5267 | 12.7k | return read_impl(range, specs, value); | 5268 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 300 | { | 5266 | 300 | SCN_UNUSED(loc); | 5267 | 300 | return read_impl(range, specs, value); | 5268 | 300 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 4.99k | { | 5266 | 4.99k | SCN_UNUSED(loc); | 5267 | 4.99k | return read_impl(range, specs, value); | 5268 | 4.99k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 300 | { | 5266 | 300 | SCN_UNUSED(loc); | 5267 | 300 | return read_impl(range, specs, value); | 5268 | 300 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 4.99k | { | 5266 | 4.99k | SCN_UNUSED(loc); | 5267 | 4.99k | return read_impl(range, specs, value); | 5268 | 4.99k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 300 | { | 5266 | 300 | SCN_UNUSED(loc); | 5267 | 300 | return read_impl(range, specs, value); | 5268 | 300 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5265 | 4.99k | { | 5266 | 4.99k | SCN_UNUSED(loc); | 5267 | 4.99k | return read_impl(range, specs, value); | 5268 | 4.99k | } |
|
5269 | | |
5270 | | protected: |
5271 | | enum class reader_type { |
5272 | | word, |
5273 | | custom_word, |
5274 | | character, |
5275 | | character_set, |
5276 | | regex, |
5277 | | regex_escaped, |
5278 | | }; |
5279 | | |
5280 | | template <typename Range, typename Value> |
5281 | | auto read_impl(Range range, const detail::format_specs& specs, Value& value) |
5282 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5283 | 57.5k | { |
5284 | 57.5k | SCN_CLANG_PUSH |
5285 | 57.5k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5286 | | |
5287 | 57.5k | switch (m_type) { |
5288 | 3.30k | case reader_type::word: |
5289 | 3.30k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5290 | | |
5291 | 546 | case reader_type::custom_word: |
5292 | 546 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, |
5293 | 546 | value); |
5294 | | |
5295 | 144 | case reader_type::character: |
5296 | 144 | return character_reader_impl<SourceCharT>{}.read(range, value); |
5297 | | |
5298 | 5.85k | case reader_type::character_set: |
5299 | 5.85k | return character_set_reader_impl<SourceCharT>{}.read( |
5300 | 5.85k | range, specs, value); |
5301 | | |
5302 | 0 | #if !SCN_DISABLE_REGEX |
5303 | 41.9k | case reader_type::regex: |
5304 | 41.9k | return regex_string_reader_impl<SourceCharT>{}.read( |
5305 | 41.9k | range, specs.charset_string<SourceCharT>(), |
5306 | 41.9k | specs.regexp_flags, value); |
5307 | | |
5308 | 5.80k | case reader_type::regex_escaped: |
5309 | 5.80k | return regex_string_reader_impl<SourceCharT>{}.read( |
5310 | 5.80k | range, |
5311 | 5.80k | get_unescaped_regex_pattern( |
5312 | 5.80k | specs.charset_string<SourceCharT>()), |
5313 | 5.80k | specs.regexp_flags, value); |
5314 | 0 | #endif |
5315 | | |
5316 | 0 | default: |
5317 | 0 | SCN_EXPECT(false); |
5318 | 57.5k | SCN_UNREACHABLE; |
5319 | 57.5k | } |
5320 | | |
5321 | 57.5k | SCN_CLANG_POP |
5322 | 57.5k | } Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 1.17k | { | 5284 | 1.17k | SCN_CLANG_PUSH | 5285 | 1.17k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 1.17k | switch (m_type) { | 5288 | 268 | case reader_type::word: | 5289 | 268 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 68 | case reader_type::custom_word: | 5292 | 68 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 68 | value); | 5294 | | | 5295 | 32 | case reader_type::character: | 5296 | 32 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 258 | case reader_type::character_set: | 5299 | 258 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 258 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 544 | case reader_type::regex_escaped: | 5309 | 544 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 544 | range, | 5311 | 544 | get_unescaped_regex_pattern( | 5312 | 544 | specs.charset_string<SourceCharT>()), | 5313 | 544 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 1.17k | SCN_UNREACHABLE; | 5319 | 1.17k | } | 5320 | | | 5321 | 1.17k | SCN_CLANG_POP | 5322 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 12.7k | { | 5284 | 12.7k | SCN_CLANG_PUSH | 5285 | 12.7k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 12.7k | switch (m_type) { | 5288 | 318 | case reader_type::word: | 5289 | 318 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 58 | case reader_type::custom_word: | 5292 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 58 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 1.45k | case reader_type::character_set: | 5299 | 1.45k | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 1.45k | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 9.63k | case reader_type::regex: | 5304 | 9.63k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 9.63k | range, specs.charset_string<SourceCharT>(), | 5306 | 9.63k | specs.regexp_flags, value); | 5307 | | | 5308 | 1.26k | case reader_type::regex_escaped: | 5309 | 1.26k | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 1.26k | range, | 5311 | 1.26k | get_unescaped_regex_pattern( | 5312 | 1.26k | specs.charset_string<SourceCharT>()), | 5313 | 1.26k | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 12.7k | SCN_UNREACHABLE; | 5319 | 12.7k | } | 5320 | | | 5321 | 12.7k | SCN_CLANG_POP | 5322 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 1.17k | { | 5284 | 1.17k | SCN_CLANG_PUSH | 5285 | 1.17k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 1.17k | switch (m_type) { | 5288 | 268 | case reader_type::word: | 5289 | 268 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 68 | case reader_type::custom_word: | 5292 | 68 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 68 | value); | 5294 | | | 5295 | 32 | case reader_type::character: | 5296 | 32 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 258 | case reader_type::character_set: | 5299 | 258 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 258 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 544 | case reader_type::regex_escaped: | 5309 | 544 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 544 | range, | 5311 | 544 | get_unescaped_regex_pattern( | 5312 | 544 | specs.charset_string<SourceCharT>()), | 5313 | 544 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 1.17k | SCN_UNREACHABLE; | 5319 | 1.17k | } | 5320 | | | 5321 | 1.17k | SCN_CLANG_POP | 5322 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 12.7k | { | 5284 | 12.7k | SCN_CLANG_PUSH | 5285 | 12.7k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 12.7k | switch (m_type) { | 5288 | 318 | case reader_type::word: | 5289 | 318 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 58 | case reader_type::custom_word: | 5292 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 58 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 1.45k | case reader_type::character_set: | 5299 | 1.45k | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 1.45k | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 9.63k | case reader_type::regex: | 5304 | 9.63k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 9.63k | range, specs.charset_string<SourceCharT>(), | 5306 | 9.63k | specs.regexp_flags, value); | 5307 | | | 5308 | 1.26k | case reader_type::regex_escaped: | 5309 | 1.26k | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 1.26k | range, | 5311 | 1.26k | get_unescaped_regex_pattern( | 5312 | 1.26k | specs.charset_string<SourceCharT>()), | 5313 | 1.26k | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 12.7k | SCN_UNREACHABLE; | 5319 | 12.7k | } | 5320 | | | 5321 | 12.7k | SCN_CLANG_POP | 5322 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 1.17k | { | 5284 | 1.17k | SCN_CLANG_PUSH | 5285 | 1.17k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 1.17k | switch (m_type) { | 5288 | 268 | case reader_type::word: | 5289 | 268 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 68 | case reader_type::custom_word: | 5292 | 68 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 68 | value); | 5294 | | | 5295 | 32 | case reader_type::character: | 5296 | 32 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 258 | case reader_type::character_set: | 5299 | 258 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 258 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 544 | case reader_type::regex_escaped: | 5309 | 544 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 544 | range, | 5311 | 544 | get_unescaped_regex_pattern( | 5312 | 544 | specs.charset_string<SourceCharT>()), | 5313 | 544 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 1.17k | SCN_UNREACHABLE; | 5319 | 1.17k | } | 5320 | | | 5321 | 1.17k | SCN_CLANG_POP | 5322 | 1.17k | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 12.7k | { | 5284 | 12.7k | SCN_CLANG_PUSH | 5285 | 12.7k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 12.7k | switch (m_type) { | 5288 | 318 | case reader_type::word: | 5289 | 318 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 58 | case reader_type::custom_word: | 5292 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 58 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 1.45k | case reader_type::character_set: | 5299 | 1.45k | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 1.45k | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 9.63k | case reader_type::regex: | 5304 | 9.63k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 9.63k | range, specs.charset_string<SourceCharT>(), | 5306 | 9.63k | specs.regexp_flags, value); | 5307 | | | 5308 | 1.26k | case reader_type::regex_escaped: | 5309 | 1.26k | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 1.26k | range, | 5311 | 1.26k | get_unescaped_regex_pattern( | 5312 | 1.26k | specs.charset_string<SourceCharT>()), | 5313 | 1.26k | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 12.7k | SCN_UNREACHABLE; | 5319 | 12.7k | } | 5320 | | | 5321 | 12.7k | SCN_CLANG_POP | 5322 | 12.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 300 | { | 5284 | 300 | SCN_CLANG_PUSH | 5285 | 300 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 300 | switch (m_type) { | 5288 | 162 | case reader_type::word: | 5289 | 162 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 20 | case reader_type::custom_word: | 5292 | 20 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 20 | value); | 5294 | | | 5295 | 16 | case reader_type::character: | 5296 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 96 | case reader_type::character_set: | 5299 | 96 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 96 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 4 | case reader_type::regex_escaped: | 5309 | 4 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 4 | range, | 5311 | 4 | get_unescaped_regex_pattern( | 5312 | 4 | specs.charset_string<SourceCharT>()), | 5313 | 4 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 300 | SCN_UNREACHABLE; | 5319 | 300 | } | 5320 | | | 5321 | 300 | SCN_CLANG_POP | 5322 | 300 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.99k | { | 5284 | 4.99k | SCN_CLANG_PUSH | 5285 | 4.99k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.99k | switch (m_type) { | 5288 | 352 | case reader_type::word: | 5289 | 352 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 148 | case reader_type::character_set: | 5299 | 148 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 148 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 4.33k | case reader_type::regex: | 5304 | 4.33k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 4.33k | range, specs.charset_string<SourceCharT>(), | 5306 | 4.33k | specs.regexp_flags, value); | 5307 | | | 5308 | 126 | case reader_type::regex_escaped: | 5309 | 126 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 126 | range, | 5311 | 126 | get_unescaped_regex_pattern( | 5312 | 126 | specs.charset_string<SourceCharT>()), | 5313 | 126 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.99k | SCN_UNREACHABLE; | 5319 | 4.99k | } | 5320 | | | 5321 | 4.99k | SCN_CLANG_POP | 5322 | 4.99k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 300 | { | 5284 | 300 | SCN_CLANG_PUSH | 5285 | 300 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 300 | switch (m_type) { | 5288 | 162 | case reader_type::word: | 5289 | 162 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 20 | case reader_type::custom_word: | 5292 | 20 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 20 | value); | 5294 | | | 5295 | 16 | case reader_type::character: | 5296 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 96 | case reader_type::character_set: | 5299 | 96 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 96 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 4 | case reader_type::regex_escaped: | 5309 | 4 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 4 | range, | 5311 | 4 | get_unescaped_regex_pattern( | 5312 | 4 | specs.charset_string<SourceCharT>()), | 5313 | 4 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 300 | SCN_UNREACHABLE; | 5319 | 300 | } | 5320 | | | 5321 | 300 | SCN_CLANG_POP | 5322 | 300 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.99k | { | 5284 | 4.99k | SCN_CLANG_PUSH | 5285 | 4.99k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.99k | switch (m_type) { | 5288 | 352 | case reader_type::word: | 5289 | 352 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 148 | case reader_type::character_set: | 5299 | 148 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 148 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 4.33k | case reader_type::regex: | 5304 | 4.33k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 4.33k | range, specs.charset_string<SourceCharT>(), | 5306 | 4.33k | specs.regexp_flags, value); | 5307 | | | 5308 | 126 | case reader_type::regex_escaped: | 5309 | 126 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 126 | range, | 5311 | 126 | get_unescaped_regex_pattern( | 5312 | 126 | specs.charset_string<SourceCharT>()), | 5313 | 126 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.99k | SCN_UNREACHABLE; | 5319 | 4.99k | } | 5320 | | | 5321 | 4.99k | SCN_CLANG_POP | 5322 | 4.99k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 300 | { | 5284 | 300 | SCN_CLANG_PUSH | 5285 | 300 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 300 | switch (m_type) { | 5288 | 162 | case reader_type::word: | 5289 | 162 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 20 | case reader_type::custom_word: | 5292 | 20 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 20 | value); | 5294 | | | 5295 | 16 | case reader_type::character: | 5296 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 96 | case reader_type::character_set: | 5299 | 96 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 96 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 4 | case reader_type::regex_escaped: | 5309 | 4 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 4 | range, | 5311 | 4 | get_unescaped_regex_pattern( | 5312 | 4 | specs.charset_string<SourceCharT>()), | 5313 | 4 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 300 | SCN_UNREACHABLE; | 5319 | 300 | } | 5320 | | | 5321 | 300 | SCN_CLANG_POP | 5322 | 300 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.99k | { | 5284 | 4.99k | SCN_CLANG_PUSH | 5285 | 4.99k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.99k | switch (m_type) { | 5288 | 352 | case reader_type::word: | 5289 | 352 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 148 | case reader_type::character_set: | 5299 | 148 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 148 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 4.33k | case reader_type::regex: | 5304 | 4.33k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 4.33k | range, specs.charset_string<SourceCharT>(), | 5306 | 4.33k | specs.regexp_flags, value); | 5307 | | | 5308 | 126 | case reader_type::regex_escaped: | 5309 | 126 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 126 | range, | 5311 | 126 | get_unescaped_regex_pattern( | 5312 | 126 | specs.charset_string<SourceCharT>()), | 5313 | 126 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.99k | SCN_UNREACHABLE; | 5319 | 4.99k | } | 5320 | | | 5321 | 4.99k | SCN_CLANG_POP | 5322 | 4.99k | } |
|
5323 | | |
5324 | | reader_type m_type{reader_type::word}; |
5325 | | }; |
5326 | | |
5327 | | template <typename SourceCharT> |
5328 | | class reader_impl_for_string : public string_reader<SourceCharT> {}; |
5329 | | |
5330 | | ///////////////////////////////////////////////////////////////// |
5331 | | // Boolean reader |
5332 | | ///////////////////////////////////////////////////////////////// |
5333 | | |
5334 | | struct bool_reader_base { |
5335 | | enum options_type { allow_text = 1, allow_numeric = 2 }; |
5336 | | |
5337 | 1.26k | constexpr bool_reader_base() = default; |
5338 | 1.50k | constexpr bool_reader_base(unsigned opt) : m_options(opt) {} |
5339 | | |
5340 | | template <typename Range> |
5341 | | auto read_classic(Range range, bool& value) const |
5342 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5343 | 2.63k | { |
5344 | 2.63k | scan_error err{scan_error::invalid_scanned_value, |
5345 | 2.63k | "Failed to read boolean"}; |
5346 | | |
5347 | 2.63k | if (m_options & allow_numeric) { |
5348 | 2.36k | if (auto r = read_numeric(range, value)) { |
5349 | 0 | return *r; |
5350 | 0 | } |
5351 | 2.36k | else { |
5352 | 2.36k | err = r.error(); |
5353 | 2.36k | } |
5354 | 2.36k | } |
5355 | | |
5356 | 2.63k | if (m_options & allow_text) { |
5357 | 2.55k | if (auto r = read_textual_classic(range, value)) { |
5358 | 0 | return *r; |
5359 | 0 | } |
5360 | 2.55k | else { |
5361 | 2.55k | err = r.error(); |
5362 | 2.55k | } |
5363 | 2.55k | } |
5364 | | |
5365 | 2.63k | return unexpected(err); |
5366 | 2.63k | } _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5343 | 1.05k | { | 5344 | 1.05k | scan_error err{scan_error::invalid_scanned_value, | 5345 | 1.05k | "Failed to read boolean"}; | 5346 | | | 5347 | 1.05k | if (m_options & allow_numeric) { | 5348 | 928 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 928 | else { | 5352 | 928 | err = r.error(); | 5353 | 928 | } | 5354 | 928 | } | 5355 | | | 5356 | 1.05k | if (m_options & allow_text) { | 5357 | 1.03k | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 1.03k | else { | 5361 | 1.03k | err = r.error(); | 5362 | 1.03k | } | 5363 | 1.03k | } | 5364 | | | 5365 | 1.05k | return unexpected(err); | 5366 | 1.05k | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5343 | 360 | { | 5344 | 360 | scan_error err{scan_error::invalid_scanned_value, | 5345 | 360 | "Failed to read boolean"}; | 5346 | | | 5347 | 360 | if (m_options & allow_numeric) { | 5348 | 286 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 286 | else { | 5352 | 286 | err = r.error(); | 5353 | 286 | } | 5354 | 286 | } | 5355 | | | 5356 | 360 | if (m_options & allow_text) { | 5357 | 336 | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 336 | else { | 5361 | 336 | err = r.error(); | 5362 | 336 | } | 5363 | 336 | } | 5364 | | | 5365 | 360 | return unexpected(err); | 5366 | 360 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5343 | 1.02k | { | 5344 | 1.02k | scan_error err{scan_error::invalid_scanned_value, | 5345 | 1.02k | "Failed to read boolean"}; | 5346 | | | 5347 | 1.02k | if (m_options & allow_numeric) { | 5348 | 972 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 972 | else { | 5352 | 972 | err = r.error(); | 5353 | 972 | } | 5354 | 972 | } | 5355 | | | 5356 | 1.02k | if (m_options & allow_text) { | 5357 | 1.00k | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 1.00k | else { | 5361 | 1.00k | err = r.error(); | 5362 | 1.00k | } | 5363 | 1.00k | } | 5364 | | | 5365 | 1.02k | return unexpected(err); | 5366 | 1.02k | } |
_ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5343 | 202 | { | 5344 | 202 | scan_error err{scan_error::invalid_scanned_value, | 5345 | 202 | "Failed to read boolean"}; | 5346 | | | 5347 | 202 | if (m_options & allow_numeric) { | 5348 | 178 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 178 | else { | 5352 | 178 | err = r.error(); | 5353 | 178 | } | 5354 | 178 | } | 5355 | | | 5356 | 202 | if (m_options & allow_text) { | 5357 | 182 | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 182 | else { | 5361 | 182 | err = r.error(); | 5362 | 182 | } | 5363 | 182 | } | 5364 | | | 5365 | 202 | return unexpected(err); | 5366 | 202 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5367 | | |
5368 | | protected: |
5369 | | template <typename Range> |
5370 | | auto read_numeric(Range range, bool& value) const |
5371 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5372 | 2.46k | { |
5373 | 2.46k | if (auto r = read_matching_code_unit(range, '0')) { |
5374 | 0 | value = false; |
5375 | 0 | return *r; |
5376 | 0 | } |
5377 | 2.46k | if (auto r = read_matching_code_unit(range, '1')) { |
5378 | 0 | value = true; |
5379 | 0 | return *r; |
5380 | 0 | } |
5381 | | |
5382 | 2.46k | return unexpected_scan_error( |
5383 | 2.46k | scan_error::invalid_scanned_value, |
5384 | 2.46k | "Failed to read numeric boolean value: No match"); |
5385 | 2.46k | } _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5372 | 972 | { | 5373 | 972 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 972 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 972 | return unexpected_scan_error( | 5383 | 972 | scan_error::invalid_scanned_value, | 5384 | 972 | "Failed to read numeric boolean value: No match"); | 5385 | 972 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5372 | 296 | { | 5373 | 296 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 296 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 296 | return unexpected_scan_error( | 5383 | 296 | scan_error::invalid_scanned_value, | 5384 | 296 | "Failed to read numeric boolean value: No match"); | 5385 | 296 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5372 | 1.00k | { | 5373 | 1.00k | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 1.00k | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 1.00k | return unexpected_scan_error( | 5383 | 1.00k | scan_error::invalid_scanned_value, | 5384 | 1.00k | "Failed to read numeric boolean value: No match"); | 5385 | 1.00k | } |
_ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5372 | 198 | { | 5373 | 198 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 198 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 198 | return unexpected_scan_error( | 5383 | 198 | scan_error::invalid_scanned_value, | 5384 | 198 | "Failed to read numeric boolean value: No match"); | 5385 | 198 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5386 | | |
5387 | | template <typename Range> |
5388 | | auto read_textual_classic(Range range, bool& value) const |
5389 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5390 | 2.55k | { |
5391 | 2.55k | if (auto r = read_matching_string_classic(range, "true")) { |
5392 | 0 | value = true; |
5393 | 0 | return *r; |
5394 | 0 | } |
5395 | 2.55k | if (auto r = read_matching_string_classic(range, "false")) { |
5396 | 0 | value = false; |
5397 | 0 | return *r; |
5398 | 0 | } |
5399 | | |
5400 | 2.55k | return unexpected_scan_error( |
5401 | 2.55k | scan_error::invalid_scanned_value, |
5402 | 2.55k | "Failed to read textual boolean value: No match"); |
5403 | 2.55k | } _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5390 | 1.03k | { | 5391 | 1.03k | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 1.03k | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 1.03k | return unexpected_scan_error( | 5401 | 1.03k | scan_error::invalid_scanned_value, | 5402 | 1.03k | "Failed to read textual boolean value: No match"); | 5403 | 1.03k | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5390 | 336 | { | 5391 | 336 | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 336 | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 336 | return unexpected_scan_error( | 5401 | 336 | scan_error::invalid_scanned_value, | 5402 | 336 | "Failed to read textual boolean value: No match"); | 5403 | 336 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5390 | 1.00k | { | 5391 | 1.00k | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 1.00k | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 1.00k | return unexpected_scan_error( | 5401 | 1.00k | scan_error::invalid_scanned_value, | 5402 | 1.00k | "Failed to read textual boolean value: No match"); | 5403 | 1.00k | } |
_ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5390 | 182 | { | 5391 | 182 | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 182 | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 182 | return unexpected_scan_error( | 5401 | 182 | scan_error::invalid_scanned_value, | 5402 | 182 | "Failed to read textual boolean value: No match"); | 5403 | 182 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5404 | | |
5405 | | unsigned m_options{allow_text | allow_numeric}; |
5406 | | }; |
5407 | | |
5408 | | template <typename CharT> |
5409 | | struct bool_reader : public bool_reader_base { |
5410 | | using bool_reader_base::bool_reader_base; |
5411 | | |
5412 | | #if !SCN_DISABLE_LOCALE |
5413 | | template <typename Range> |
5414 | | auto read_localized(Range range, detail::locale_ref loc, bool& value) const |
5415 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5416 | 134 | { |
5417 | 134 | scan_error err{scan_error::invalid_scanned_value, |
5418 | 134 | "Failed to read boolean"}; |
5419 | | |
5420 | 134 | if (m_options & allow_numeric) { |
5421 | 102 | if (auto r = read_numeric(range, value)) { |
5422 | 0 | return *r; |
5423 | 0 | } |
5424 | 102 | else { |
5425 | 102 | err = r.error(); |
5426 | 102 | } |
5427 | 102 | } |
5428 | | |
5429 | 134 | if (m_options & allow_text) { |
5430 | 70 | auto stdloc = loc.get<std::locale>(); |
5431 | 70 | const auto& numpunct = |
5432 | 70 | get_or_add_facet<std::numpunct<CharT>>(stdloc); |
5433 | 70 | const auto truename = numpunct.truename(); |
5434 | 70 | const auto falsename = numpunct.falsename(); |
5435 | | |
5436 | 70 | if (auto r = |
5437 | 70 | read_textual_custom(range, value, truename, falsename)) { |
5438 | 0 | return *r; |
5439 | 0 | } |
5440 | 70 | else { |
5441 | 70 | err = r.error(); |
5442 | 70 | } |
5443 | 70 | } |
5444 | | |
5445 | 134 | return unexpected(err); |
5446 | 134 | } _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 14 | { | 5417 | 14 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 14 | "Failed to read boolean"}; | 5419 | | | 5420 | 14 | if (m_options & allow_numeric) { | 5421 | 10 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 10 | else { | 5425 | 10 | err = r.error(); | 5426 | 10 | } | 5427 | 10 | } | 5428 | | | 5429 | 14 | if (m_options & allow_text) { | 5430 | 12 | auto stdloc = loc.get<std::locale>(); | 5431 | 12 | const auto& numpunct = | 5432 | 12 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 12 | const auto truename = numpunct.truename(); | 5434 | 12 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 12 | if (auto r = | 5437 | 12 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 12 | else { | 5441 | 12 | err = r.error(); | 5442 | 12 | } | 5443 | 12 | } | 5444 | | | 5445 | 14 | return unexpected(err); | 5446 | 14 | } |
_ZNK3scn2v34impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 60 | { | 5417 | 60 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 60 | "Failed to read boolean"}; | 5419 | | | 5420 | 60 | if (m_options & allow_numeric) { | 5421 | 44 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 44 | else { | 5425 | 44 | err = r.error(); | 5426 | 44 | } | 5427 | 44 | } | 5428 | | | 5429 | 60 | if (m_options & allow_text) { | 5430 | 22 | auto stdloc = loc.get<std::locale>(); | 5431 | 22 | const auto& numpunct = | 5432 | 22 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 22 | const auto truename = numpunct.truename(); | 5434 | 22 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 22 | if (auto r = | 5437 | 22 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 22 | else { | 5441 | 22 | err = r.error(); | 5442 | 22 | } | 5443 | 22 | } | 5444 | | | 5445 | 60 | return unexpected(err); | 5446 | 60 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 26 | { | 5417 | 26 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 26 | "Failed to read boolean"}; | 5419 | | | 5420 | 26 | if (m_options & allow_numeric) { | 5421 | 20 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 20 | else { | 5425 | 20 | err = r.error(); | 5426 | 20 | } | 5427 | 20 | } | 5428 | | | 5429 | 26 | if (m_options & allow_text) { | 5430 | 16 | auto stdloc = loc.get<std::locale>(); | 5431 | 16 | const auto& numpunct = | 5432 | 16 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 16 | const auto truename = numpunct.truename(); | 5434 | 16 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 16 | if (auto r = | 5437 | 16 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 16 | else { | 5441 | 16 | err = r.error(); | 5442 | 16 | } | 5443 | 16 | } | 5444 | | | 5445 | 26 | return unexpected(err); | 5446 | 26 | } |
_ZNK3scn2v34impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 34 | { | 5417 | 34 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 34 | "Failed to read boolean"}; | 5419 | | | 5420 | 34 | if (m_options & allow_numeric) { | 5421 | 28 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 28 | else { | 5425 | 28 | err = r.error(); | 5426 | 28 | } | 5427 | 28 | } | 5428 | | | 5429 | 34 | if (m_options & allow_text) { | 5430 | 20 | auto stdloc = loc.get<std::locale>(); | 5431 | 20 | const auto& numpunct = | 5432 | 20 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 20 | const auto truename = numpunct.truename(); | 5434 | 20 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 20 | if (auto r = | 5437 | 20 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 20 | else { | 5441 | 20 | err = r.error(); | 5442 | 20 | } | 5443 | 20 | } | 5444 | | | 5445 | 34 | return unexpected(err); | 5446 | 34 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb |
5447 | | #endif |
5448 | | |
5449 | | protected: |
5450 | | template <typename Range> |
5451 | | auto read_textual_custom(Range range, |
5452 | | bool& value, |
5453 | | std::basic_string_view<CharT> truename, |
5454 | | std::basic_string_view<CharT> falsename) const |
5455 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5456 | 70 | { |
5457 | 70 | const auto is_truename_shorter = truename.size() <= falsename.size(); |
5458 | 70 | const auto shorter = std::pair{ |
5459 | 70 | is_truename_shorter ? truename : falsename, is_truename_shorter}; |
5460 | 70 | const auto longer = std::pair{ |
5461 | 70 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; |
5462 | | |
5463 | 70 | if (auto r = read_matching_string(range, shorter.first)) { |
5464 | 0 | value = shorter.second; |
5465 | 0 | return *r; |
5466 | 0 | } |
5467 | 70 | if (auto r = read_matching_string(range, longer.first)) { |
5468 | 0 | value = longer.second; |
5469 | 0 | return *r; |
5470 | 0 | } |
5471 | | |
5472 | 70 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
5473 | 70 | "read_textual: No match"); |
5474 | 70 | } _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIcNSF_11char_traitsIcEEEESR_ Line | Count | Source | 5456 | 12 | { | 5457 | 12 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 12 | const auto shorter = std::pair{ | 5459 | 12 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 12 | const auto longer = std::pair{ | 5461 | 12 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 12 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 12 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 12 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 12 | "read_textual: No match"); | 5474 | 12 | } |
_ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIcNSD_11char_traitsIcEEEESP_ Line | Count | Source | 5456 | 22 | { | 5457 | 22 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 22 | const auto shorter = std::pair{ | 5459 | 22 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 22 | const auto longer = std::pair{ | 5461 | 22 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 22 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 22 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 22 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 22 | "read_textual: No match"); | 5474 | 22 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIcNSI_11char_traitsIcEEEESU_ Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIcNSG_11char_traitsIcEEEESS_ _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIwNSF_11char_traitsIwEEEESR_ Line | Count | Source | 5456 | 16 | { | 5457 | 16 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 16 | const auto shorter = std::pair{ | 5459 | 16 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 16 | const auto longer = std::pair{ | 5461 | 16 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 16 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 16 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 16 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 16 | "read_textual: No match"); | 5474 | 16 | } |
_ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIwNSD_11char_traitsIwEEEESP_ Line | Count | Source | 5456 | 20 | { | 5457 | 20 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 20 | const auto shorter = std::pair{ | 5459 | 20 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 20 | const auto longer = std::pair{ | 5461 | 20 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 20 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 20 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 20 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 20 | "read_textual: No match"); | 5474 | 20 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIwNSI_11char_traitsIwEEEESU_ Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIwNSG_11char_traitsIwEEEESS_ |
5475 | | }; |
5476 | | |
5477 | | template <typename CharT> |
5478 | | class reader_impl_for_bool |
5479 | | : public reader_base<reader_impl_for_bool<CharT>, CharT> { |
5480 | | public: |
5481 | | reader_impl_for_bool() = default; |
5482 | | |
5483 | | void check_specs_impl(const detail::format_specs& specs, |
5484 | | reader_error_handler& eh) |
5485 | 19.5k | { |
5486 | 19.5k | detail::check_bool_type_specs(specs, eh); |
5487 | 19.5k | } scn::v3::impl::reader_impl_for_bool<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5485 | 14.1k | { | 5486 | 14.1k | detail::check_bool_type_specs(specs, eh); | 5487 | 14.1k | } |
scn::v3::impl::reader_impl_for_bool<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5485 | 5.44k | { | 5486 | 5.44k | detail::check_bool_type_specs(specs, eh); | 5487 | 5.44k | } |
|
5488 | | |
5489 | | template <typename Range> |
5490 | | auto read_default(Range range, bool& value, detail::locale_ref loc) const |
5491 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5492 | 1.26k | { |
5493 | 1.26k | SCN_UNUSED(loc); |
5494 | | |
5495 | 1.26k | return bool_reader<CharT>{}.read_classic(range, value); |
5496 | 1.26k | } _ZNK3scn2v34impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5492 | 656 | { | 5493 | 656 | SCN_UNUSED(loc); | 5494 | | | 5495 | 656 | return bool_reader<CharT>{}.read_classic(range, value); | 5496 | 656 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE _ZNK3scn2v34impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5492 | 612 | { | 5493 | 612 | SCN_UNUSED(loc); | 5494 | | | 5495 | 612 | return bool_reader<CharT>{}.read_classic(range, value); | 5496 | 612 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE |
5497 | | |
5498 | | template <typename Range> |
5499 | | auto read_specs(Range range, |
5500 | | const detail::format_specs& specs, |
5501 | | bool& value, |
5502 | | detail::locale_ref loc) const |
5503 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5504 | 1.50k | { |
5505 | 1.50k | const auto rd = bool_reader<CharT>{get_options(specs)}; |
5506 | | |
5507 | 1.50k | #if !SCN_DISABLE_LOCALE |
5508 | 1.50k | if (specs.localized) { |
5509 | 134 | return rd.read_localized(range, loc, value); |
5510 | 134 | } |
5511 | 1.36k | #endif |
5512 | | |
5513 | 1.36k | return rd.read_classic(range, value); |
5514 | 1.50k | } _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5504 | 374 | { | 5505 | 374 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 374 | #if !SCN_DISABLE_LOCALE | 5508 | 374 | if (specs.localized) { | 5509 | 14 | return rd.read_localized(range, loc, value); | 5510 | 14 | } | 5511 | 360 | #endif | 5512 | | | 5513 | 360 | return rd.read_classic(range, value); | 5514 | 374 | } |
_ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5504 | 458 | { | 5505 | 458 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 458 | #if !SCN_DISABLE_LOCALE | 5508 | 458 | if (specs.localized) { | 5509 | 60 | return rd.read_localized(range, loc, value); | 5510 | 60 | } | 5511 | 398 | #endif | 5512 | | | 5513 | 398 | return rd.read_classic(range, value); | 5514 | 458 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5504 | 228 | { | 5505 | 228 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 228 | #if !SCN_DISABLE_LOCALE | 5508 | 228 | if (specs.localized) { | 5509 | 26 | return rd.read_localized(range, loc, value); | 5510 | 26 | } | 5511 | 202 | #endif | 5512 | | | 5513 | 202 | return rd.read_classic(range, value); | 5514 | 228 | } |
_ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5504 | 442 | { | 5505 | 442 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 442 | #if !SCN_DISABLE_LOCALE | 5508 | 442 | if (specs.localized) { | 5509 | 34 | return rd.read_localized(range, loc, value); | 5510 | 34 | } | 5511 | 408 | #endif | 5512 | | | 5513 | 408 | return rd.read_classic(range, value); | 5514 | 442 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE |
5515 | | |
5516 | | static constexpr unsigned get_options(const detail::format_specs& specs) |
5517 | 1.50k | { |
5518 | 1.50k | SCN_GCC_COMPAT_PUSH |
5519 | 1.50k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
5520 | | |
5521 | 1.50k | switch (specs.type) { |
5522 | 304 | case detail::presentation_type::string: |
5523 | 304 | return bool_reader_base::allow_text; |
5524 | | |
5525 | 26 | case detail::presentation_type::int_generic: |
5526 | 42 | case detail::presentation_type::int_binary: |
5527 | 56 | case detail::presentation_type::int_decimal: |
5528 | 80 | case detail::presentation_type::int_hex: |
5529 | 134 | case detail::presentation_type::int_octal: |
5530 | 150 | case detail::presentation_type::int_unsigned_decimal: |
5531 | 150 | return bool_reader_base::allow_numeric; |
5532 | | |
5533 | 1.04k | default: |
5534 | 1.04k | return bool_reader_base::allow_text | |
5535 | 1.04k | bool_reader_base::allow_numeric; |
5536 | 1.50k | } |
5537 | | |
5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
5539 | 1.50k | } scn::v3::impl::reader_impl_for_bool<char>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 5517 | 832 | { | 5518 | 832 | SCN_GCC_COMPAT_PUSH | 5519 | 832 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5520 | | | 5521 | 832 | switch (specs.type) { | 5522 | 220 | case detail::presentation_type::string: | 5523 | 220 | return bool_reader_base::allow_text; | 5524 | | | 5525 | 12 | case detail::presentation_type::int_generic: | 5526 | 20 | case detail::presentation_type::int_binary: | 5527 | 26 | case detail::presentation_type::int_decimal: | 5528 | 38 | case detail::presentation_type::int_hex: | 5529 | 82 | case detail::presentation_type::int_octal: | 5530 | 86 | case detail::presentation_type::int_unsigned_decimal: | 5531 | 86 | return bool_reader_base::allow_numeric; | 5532 | | | 5533 | 526 | default: | 5534 | 526 | return bool_reader_base::allow_text | | 5535 | 526 | bool_reader_base::allow_numeric; | 5536 | 832 | } | 5537 | | | 5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5539 | 832 | } |
scn::v3::impl::reader_impl_for_bool<wchar_t>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 5517 | 670 | { | 5518 | 670 | SCN_GCC_COMPAT_PUSH | 5519 | 670 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5520 | | | 5521 | 670 | switch (specs.type) { | 5522 | 84 | case detail::presentation_type::string: | 5523 | 84 | return bool_reader_base::allow_text; | 5524 | | | 5525 | 14 | case detail::presentation_type::int_generic: | 5526 | 22 | case detail::presentation_type::int_binary: | 5527 | 30 | case detail::presentation_type::int_decimal: | 5528 | 42 | case detail::presentation_type::int_hex: | 5529 | 52 | case detail::presentation_type::int_octal: | 5530 | 64 | case detail::presentation_type::int_unsigned_decimal: | 5531 | 64 | return bool_reader_base::allow_numeric; | 5532 | | | 5533 | 522 | default: | 5534 | 522 | return bool_reader_base::allow_text | | 5535 | 522 | bool_reader_base::allow_numeric; | 5536 | 670 | } | 5537 | | | 5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5539 | 670 | } |
|
5540 | | }; |
5541 | | |
5542 | | ///////////////////////////////////////////////////////////////// |
5543 | | // Character (code unit, code point) reader |
5544 | | ///////////////////////////////////////////////////////////////// |
5545 | | |
5546 | | template <typename CharT> |
5547 | | class code_unit_reader { |
5548 | | public: |
5549 | | template <typename SourceRange> |
5550 | | auto read(const SourceRange& range, CharT& ch) |
5551 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5552 | 2.29k | { |
5553 | 2.29k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); |
5554 | 2.29k | ch = *range.begin(); |
5555 | 2.29k | return it; |
5556 | 2.29k | } Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rc Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rc _ZN3scn2v34impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rc Line | Count | Source | 5552 | 278 | { | 5553 | 278 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 278 | ch = *range.begin(); | 5555 | 278 | return it; | 5556 | 278 | } |
_ZN3scn2v34impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rc Line | Count | Source | 5552 | 906 | { | 5553 | 906 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 906 | ch = *range.begin(); | 5555 | 906 | return it; | 5556 | 906 | } |
Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw _ZN3scn2v34impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Line | Count | Source | 5552 | 158 | { | 5553 | 158 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 158 | ch = *range.begin(); | 5555 | 158 | return it; | 5556 | 158 | } |
_ZN3scn2v34impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Line | Count | Source | 5552 | 952 | { | 5553 | 952 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 952 | ch = *range.begin(); | 5555 | 952 | return it; | 5556 | 952 | } |
|
5557 | | }; |
5558 | | |
5559 | | template <typename CharT> |
5560 | | class code_point_reader; |
5561 | | |
5562 | | template <> |
5563 | | class code_point_reader<char32_t> { |
5564 | | public: |
5565 | | template <typename SourceRange> |
5566 | | auto read(const SourceRange& range, char32_t& cp) |
5567 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5568 | 0 | { |
5569 | 0 | auto result = read_code_point_into(range); |
5570 | 0 | if (SCN_UNLIKELY(!result.is_valid())) { |
5571 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
5572 | 0 | "Invalid code point"); |
5573 | 0 | } |
5574 | 0 | cp = detail::decode_code_point_exhaustive_valid( |
5575 | 0 | std::basic_string_view<detail::char_t<SourceRange>>{ |
5576 | 0 | result.codepoint}); |
5577 | 0 | return result.iterator; |
5578 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi |
5579 | | }; |
5580 | | |
5581 | | template <> |
5582 | | class code_point_reader<wchar_t> { |
5583 | | public: |
5584 | | template <typename SourceRange> |
5585 | | auto read(const SourceRange& range, wchar_t& ch) |
5586 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5587 | 0 | { |
5588 | 0 | code_point_reader<char32_t> reader{}; |
5589 | 0 | char32_t cp{}; |
5590 | 0 | auto ret = reader.read(range, cp); |
5591 | 0 | if (SCN_UNLIKELY(!ret)) { |
5592 | 0 | return unexpected(ret.error()); |
5593 | 0 | } |
5594 | | |
5595 | 0 | SCN_TRY(encoded_ch, encode_code_point_as_wide_character(cp, true)); |
5596 | 0 | ch = encoded_ch; |
5597 | 0 | return *ret; |
5598 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw |
5599 | | }; |
5600 | | |
5601 | | template <typename ValueCharT> |
5602 | | class char_reader_base { |
5603 | | public: |
5604 | | constexpr char_reader_base() = default; |
5605 | | |
5606 | | bool skip_ws_before_read() const |
5607 | 3.42k | { |
5608 | 3.42k | return false; |
5609 | 3.42k | } scn::v3::impl::char_reader_base<char>::skip_ws_before_read() const Line | Count | Source | 5607 | 1.77k | { | 5608 | 1.77k | return false; | 5609 | 1.77k | } |
scn::v3::impl::char_reader_base<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5607 | 1.65k | { | 5608 | 1.65k | return false; | 5609 | 1.65k | } |
Unexecuted instantiation: scn::v3::impl::char_reader_base<char32_t>::skip_ws_before_read() const |
5610 | | |
5611 | | static scan_error check_specs(const detail::format_specs& specs) |
5612 | 19.4k | { |
5613 | 19.4k | reader_error_handler eh{}; |
5614 | 19.4k | if constexpr (std::is_same_v<ValueCharT, char32_t>) { |
5615 | 0 | detail::check_code_point_type_specs(specs, eh); |
5616 | | } |
5617 | 19.4k | else { |
5618 | 19.4k | detail::check_char_type_specs(specs, eh); |
5619 | 19.4k | } |
5620 | 19.4k | if (SCN_UNLIKELY(!eh)) { |
5621 | 18.3k | return {scan_error::invalid_format_string, eh.m_msg}; |
5622 | 18.3k | } |
5623 | 1.12k | return {}; |
5624 | 19.4k | } scn::v3::impl::char_reader_base<char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5612 | 14.0k | { | 5613 | 14.0k | reader_error_handler eh{}; | 5614 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5615 | | detail::check_code_point_type_specs(specs, eh); | 5616 | | } | 5617 | 14.0k | else { | 5618 | 14.0k | detail::check_char_type_specs(specs, eh); | 5619 | 14.0k | } | 5620 | 14.0k | if (SCN_UNLIKELY(!eh)) { | 5621 | 13.4k | return {scan_error::invalid_format_string, eh.m_msg}; | 5622 | 13.4k | } | 5623 | 588 | return {}; | 5624 | 14.0k | } |
scn::v3::impl::char_reader_base<wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5612 | 5.38k | { | 5613 | 5.38k | reader_error_handler eh{}; | 5614 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5615 | | detail::check_code_point_type_specs(specs, eh); | 5616 | | } | 5617 | 5.38k | else { | 5618 | 5.38k | detail::check_char_type_specs(specs, eh); | 5619 | 5.38k | } | 5620 | 5.38k | if (SCN_UNLIKELY(!eh)) { | 5621 | 4.84k | return {scan_error::invalid_format_string, eh.m_msg}; | 5622 | 4.84k | } | 5623 | 540 | return {}; | 5624 | 5.38k | } |
Unexecuted instantiation: scn::v3::impl::char_reader_base<char32_t>::check_specs(scn::v3::detail::format_specs const&) |
5625 | | }; |
5626 | | |
5627 | | template <typename CharT> |
5628 | | class reader_impl_for_char : public char_reader_base<char> { |
5629 | | public: |
5630 | | template <typename Range> |
5631 | | auto read_default(Range range, char& value, detail::locale_ref loc) |
5632 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5633 | 1.18k | { |
5634 | 1.18k | SCN_UNUSED(loc); |
5635 | 1.18k | if constexpr (std::is_same_v<CharT, char>) { |
5636 | 1.18k | return code_unit_reader<char>{}.read(range, value); |
5637 | | } |
5638 | 0 | else { |
5639 | 0 | SCN_UNUSED(range); |
5640 | 0 | SCN_EXPECT(false); |
5641 | 0 | SCN_UNREACHABLE; |
5642 | 0 | } |
5643 | 1.18k | } Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Line | Count | Source | 5633 | 278 | { | 5634 | 278 | SCN_UNUSED(loc); | 5635 | 278 | if constexpr (std::is_same_v<CharT, char>) { | 5636 | 278 | return code_unit_reader<char>{}.read(range, value); | 5637 | | } | 5638 | | else { | 5639 | | SCN_UNUSED(range); | 5640 | | SCN_EXPECT(false); | 5641 | | SCN_UNREACHABLE; | 5642 | | } | 5643 | 278 | } |
_ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Line | Count | Source | 5633 | 906 | { | 5634 | 906 | SCN_UNUSED(loc); | 5635 | 906 | if constexpr (std::is_same_v<CharT, char>) { | 5636 | 906 | return code_unit_reader<char>{}.read(range, value); | 5637 | | } | 5638 | | else { | 5639 | | SCN_UNUSED(range); | 5640 | | SCN_EXPECT(false); | 5641 | | SCN_UNREACHABLE; | 5642 | | } | 5643 | 906 | } |
Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE |
5644 | | |
5645 | | template <typename Range> |
5646 | | auto read_specs(Range range, |
5647 | | const detail::format_specs& specs, |
5648 | | char& value, |
5649 | | detail::locale_ref loc) |
5650 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5651 | 582 | { |
5652 | 582 | if (specs.type == detail::presentation_type::none || |
5653 | 582 | specs.type == detail::presentation_type::character) { |
5654 | 528 | return read_default(range, value, loc); |
5655 | 528 | } |
5656 | | |
5657 | 54 | reader_impl_for_int<CharT> reader{}; |
5658 | 54 | signed char tmp_value{}; |
5659 | 54 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5660 | 54 | value = static_cast<signed char>(value); |
5661 | 54 | return ret; |
5662 | 582 | } Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Line | Count | Source | 5651 | 310 | { | 5652 | 310 | if (specs.type == detail::presentation_type::none || | 5653 | 310 | specs.type == detail::presentation_type::character) { | 5654 | 278 | return read_default(range, value, loc); | 5655 | 278 | } | 5656 | | | 5657 | 32 | reader_impl_for_int<CharT> reader{}; | 5658 | 32 | signed char tmp_value{}; | 5659 | 32 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5660 | 32 | value = static_cast<signed char>(value); | 5661 | 32 | return ret; | 5662 | 310 | } |
_ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Line | Count | Source | 5651 | 272 | { | 5652 | 272 | if (specs.type == detail::presentation_type::none || | 5653 | 272 | specs.type == detail::presentation_type::character) { | 5654 | 250 | return read_default(range, value, loc); | 5655 | 250 | } | 5656 | | | 5657 | 22 | reader_impl_for_int<CharT> reader{}; | 5658 | 22 | signed char tmp_value{}; | 5659 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5660 | 22 | value = static_cast<signed char>(value); | 5661 | 22 | return ret; | 5662 | 272 | } |
Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE |
5663 | | }; |
5664 | | |
5665 | | template <typename CharT> |
5666 | | class reader_impl_for_wchar : public char_reader_base<wchar_t> { |
5667 | | public: |
5668 | | template <typename Range> |
5669 | | auto read_default(Range range, wchar_t& value, detail::locale_ref loc) |
5670 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5671 | 1.11k | { |
5672 | 1.11k | SCN_UNUSED(loc); |
5673 | 1.11k | if constexpr (std::is_same_v<CharT, char>) { |
5674 | 0 | return code_point_reader<wchar_t>{}.read(range, value); |
5675 | | } |
5676 | 1.11k | else { |
5677 | 1.11k | return code_unit_reader<wchar_t>{}.read(range, value); |
5678 | 1.11k | } |
5679 | 1.11k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Line | Count | Source | 5671 | 158 | { | 5672 | 158 | SCN_UNUSED(loc); | 5673 | | if constexpr (std::is_same_v<CharT, char>) { | 5674 | | return code_point_reader<wchar_t>{}.read(range, value); | 5675 | | } | 5676 | 158 | else { | 5677 | 158 | return code_unit_reader<wchar_t>{}.read(range, value); | 5678 | 158 | } | 5679 | 158 | } |
_ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Line | Count | Source | 5671 | 952 | { | 5672 | 952 | SCN_UNUSED(loc); | 5673 | | if constexpr (std::is_same_v<CharT, char>) { | 5674 | | return code_point_reader<wchar_t>{}.read(range, value); | 5675 | | } | 5676 | 952 | else { | 5677 | 952 | return code_unit_reader<wchar_t>{}.read(range, value); | 5678 | 952 | } | 5679 | 952 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE |
5680 | | |
5681 | | template <typename Range> |
5682 | | auto read_specs(Range range, |
5683 | | const detail::format_specs& specs, |
5684 | | wchar_t& value, |
5685 | | detail::locale_ref loc) |
5686 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5687 | 538 | { |
5688 | 538 | if (specs.type == detail::presentation_type::none || |
5689 | 538 | specs.type == detail::presentation_type::character) { |
5690 | 498 | return read_default(range, value, loc); |
5691 | 498 | } |
5692 | | |
5693 | 40 | reader_impl_for_int<CharT> reader{}; |
5694 | 40 | using integer_type = |
5695 | 40 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; |
5696 | 40 | integer_type tmp_value{}; |
5697 | 40 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5698 | 40 | value = static_cast<integer_type>(value); |
5699 | 40 | return ret; |
5700 | 538 | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Line | Count | Source | 5687 | 178 | { | 5688 | 178 | if (specs.type == detail::presentation_type::none || | 5689 | 178 | specs.type == detail::presentation_type::character) { | 5690 | 158 | return read_default(range, value, loc); | 5691 | 158 | } | 5692 | | | 5693 | 20 | reader_impl_for_int<CharT> reader{}; | 5694 | 20 | using integer_type = | 5695 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5696 | 20 | integer_type tmp_value{}; | 5697 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5698 | 20 | value = static_cast<integer_type>(value); | 5699 | 20 | return ret; | 5700 | 178 | } |
_ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Line | Count | Source | 5687 | 360 | { | 5688 | 360 | if (specs.type == detail::presentation_type::none || | 5689 | 360 | specs.type == detail::presentation_type::character) { | 5690 | 340 | return read_default(range, value, loc); | 5691 | 340 | } | 5692 | | | 5693 | 20 | reader_impl_for_int<CharT> reader{}; | 5694 | 20 | using integer_type = | 5695 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5696 | 20 | integer_type tmp_value{}; | 5697 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5698 | 20 | value = static_cast<integer_type>(value); | 5699 | 20 | return ret; | 5700 | 360 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE |
5701 | | }; |
5702 | | |
5703 | | template <typename CharT> |
5704 | | class reader_impl_for_code_point : public char_reader_base<char32_t> { |
5705 | | public: |
5706 | | template <typename Range> |
5707 | | auto read_default(Range range, char32_t& value, detail::locale_ref loc) |
5708 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5709 | 0 | { |
5710 | 0 | SCN_UNUSED(loc); |
5711 | 0 | return code_point_reader<char32_t>{}.read(range, value); |
5712 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE |
5713 | | |
5714 | | template <typename Range> |
5715 | | auto read_specs(Range range, |
5716 | | const detail::format_specs& specs, |
5717 | | char32_t& value, |
5718 | | detail::locale_ref loc) |
5719 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5720 | 0 | { |
5721 | 0 | SCN_UNUSED(specs); |
5722 | 0 | return read_default(range, value, loc); |
5723 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE |
5724 | | }; |
5725 | | |
5726 | | ///////////////////////////////////////////////////////////////// |
5727 | | // Pointer reader |
5728 | | ///////////////////////////////////////////////////////////////// |
5729 | | |
5730 | | template <typename CharT> |
5731 | | class reader_impl_for_voidptr { |
5732 | | public: |
5733 | | constexpr reader_impl_for_voidptr() = default; |
5734 | | |
5735 | | bool skip_ws_before_read() const |
5736 | 2.31k | { |
5737 | 2.31k | return true; |
5738 | 2.31k | } scn::v3::impl::reader_impl_for_voidptr<char>::skip_ws_before_read() const Line | Count | Source | 5736 | 1.19k | { | 5737 | 1.19k | return true; | 5738 | 1.19k | } |
scn::v3::impl::reader_impl_for_voidptr<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5736 | 1.11k | { | 5737 | 1.11k | return true; | 5738 | 1.11k | } |
|
5739 | | |
5740 | | static scan_error check_specs(const detail::format_specs& specs) |
5741 | 19.4k | { |
5742 | 19.4k | reader_error_handler eh{}; |
5743 | 19.4k | detail::check_pointer_type_specs(specs, eh); |
5744 | 19.4k | if (SCN_UNLIKELY(!eh)) { |
5745 | 18.3k | return {scan_error::invalid_format_string, eh.m_msg}; |
5746 | 18.3k | } |
5747 | 1.04k | return {}; |
5748 | 19.4k | } scn::v3::impl::reader_impl_for_voidptr<char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5741 | 14.0k | { | 5742 | 14.0k | reader_error_handler eh{}; | 5743 | 14.0k | detail::check_pointer_type_specs(specs, eh); | 5744 | 14.0k | if (SCN_UNLIKELY(!eh)) { | 5745 | 13.5k | return {scan_error::invalid_format_string, eh.m_msg}; | 5746 | 13.5k | } | 5747 | 538 | return {}; | 5748 | 14.0k | } |
scn::v3::impl::reader_impl_for_voidptr<wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5741 | 5.38k | { | 5742 | 5.38k | reader_error_handler eh{}; | 5743 | 5.38k | detail::check_pointer_type_specs(specs, eh); | 5744 | 5.38k | if (SCN_UNLIKELY(!eh)) { | 5745 | 4.87k | return {scan_error::invalid_format_string, eh.m_msg}; | 5746 | 4.87k | } | 5747 | 506 | return {}; | 5748 | 5.38k | } |
|
5749 | | |
5750 | | template <typename Range> |
5751 | | auto read_default(Range range, void*& value, detail::locale_ref loc) |
5752 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5753 | 2.29k | { |
5754 | 2.29k | detail::format_specs specs{}; |
5755 | 2.29k | specs.type = detail::presentation_type::int_hex; |
5756 | | |
5757 | 2.29k | std::uintptr_t intvalue{}; |
5758 | 2.29k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, |
5759 | 0 | intvalue, loc)); |
5760 | 0 | value = reinterpret_cast<void*>(intvalue); |
5761 | 0 | return result; |
5762 | 2.29k | } _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 910 | { | 5754 | 910 | detail::format_specs specs{}; | 5755 | 910 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 910 | std::uintptr_t intvalue{}; | 5758 | 910 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 910 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 264 | { | 5754 | 264 | detail::format_specs specs{}; | 5755 | 264 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 264 | std::uintptr_t intvalue{}; | 5758 | 264 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 264 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 956 | { | 5754 | 956 | detail::format_specs specs{}; | 5755 | 956 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 956 | std::uintptr_t intvalue{}; | 5758 | 956 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 956 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 160 | { | 5754 | 160 | detail::format_specs specs{}; | 5755 | 160 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 160 | std::uintptr_t intvalue{}; | 5758 | 160 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 160 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE |
5763 | | |
5764 | | template <typename Range> |
5765 | | auto read_specs(Range range, |
5766 | | const detail::format_specs& specs, |
5767 | | void*& value, |
5768 | | detail::locale_ref loc) |
5769 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5770 | 1.02k | { |
5771 | 1.02k | SCN_UNUSED(specs); |
5772 | 1.02k | return read_default(range, value, loc); |
5773 | 1.02k | } _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5770 | 264 | { | 5771 | 264 | SCN_UNUSED(specs); | 5772 | 264 | return read_default(range, value, loc); | 5773 | 264 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5770 | 254 | { | 5771 | 254 | SCN_UNUSED(specs); | 5772 | 254 | return read_default(range, value, loc); | 5773 | 254 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5770 | 160 | { | 5771 | 160 | SCN_UNUSED(specs); | 5772 | 160 | return read_default(range, value, loc); | 5773 | 160 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5770 | 344 | { | 5771 | 344 | SCN_UNUSED(specs); | 5772 | 344 | return read_default(range, value, loc); | 5773 | 344 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE |
5774 | | }; |
5775 | | |
5776 | | ///////////////////////////////////////////////////////////////// |
5777 | | // Argument readers |
5778 | | ///////////////////////////////////////////////////////////////// |
5779 | | |
5780 | | template <typename Range> |
5781 | | auto skip_ws_before_if_required(bool is_required, Range range) |
5782 | | -> eof_expected<ranges::iterator_t<Range>> |
5783 | 11.4k | { |
5784 | 11.4k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
5785 | 0 | return unexpected(e); |
5786 | 0 | } |
5787 | | |
5788 | 11.4k | if (!is_required) { |
5789 | 1.26k | return range.begin(); |
5790 | 1.26k | } |
5791 | | |
5792 | 10.1k | return skip_classic_whitespace(range); |
5793 | 11.4k | } _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5783 | 5.90k | { | 5784 | 5.90k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5785 | 0 | return unexpected(e); | 5786 | 0 | } | 5787 | | | 5788 | 5.90k | if (!is_required) { | 5789 | 656 | return range.begin(); | 5790 | 656 | } | 5791 | | | 5792 | 5.24k | return skip_classic_whitespace(range); | 5793 | 5.90k | } |
Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5783 | 5.50k | { | 5784 | 5.50k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5785 | 0 | return unexpected(e); | 5786 | 0 | } | 5787 | | | 5788 | 5.50k | if (!is_required) { | 5789 | 612 | return range.begin(); | 5790 | 612 | } | 5791 | | | 5792 | 4.89k | return skip_classic_whitespace(range); | 5793 | 5.50k | } |
Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ |
5794 | | |
5795 | | template <typename T, typename CharT> |
5796 | | constexpr auto make_reader() |
5797 | 62.0k | { |
5798 | | if constexpr (std::is_same_v<T, bool>) { |
5799 | | return reader_impl_for_bool<CharT>{}; |
5800 | | } |
5801 | | else if constexpr (std::is_same_v<T, char>) { |
5802 | | return reader_impl_for_char<CharT>{}; |
5803 | | } |
5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { |
5805 | | return reader_impl_for_wchar<CharT>{}; |
5806 | | } |
5807 | | else if constexpr (std::is_same_v<T, char32_t>) { |
5808 | | return reader_impl_for_code_point<CharT>{}; |
5809 | | } |
5810 | | else if constexpr (std::is_same_v<T, std::string_view> || |
5811 | 20.6k | std::is_same_v<T, std::wstring_view>) { |
5812 | 20.6k | return reader_impl_for_string<CharT>{}; |
5813 | | } |
5814 | | else if constexpr (std::is_same_v<T, std::string> || |
5815 | 41.3k | std::is_same_v<T, std::wstring>) { |
5816 | 41.3k | return reader_impl_for_string<CharT>{}; |
5817 | | } |
5818 | | else if constexpr (std::is_same_v<T, regex_matches> || |
5819 | | std::is_same_v<T, wregex_matches>) { |
5820 | | return reader_impl_for_regex_matches<CharT>{}; |
5821 | | } |
5822 | | else if constexpr (std::is_same_v<T, void*>) { |
5823 | | return reader_impl_for_voidptr<CharT>{}; |
5824 | | } |
5825 | | else if constexpr (std::is_floating_point_v<T>) { |
5826 | | return reader_impl_for_float<CharT>{}; |
5827 | | } |
5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && |
5829 | | !std::is_same_v<T, wchar_t> && |
5830 | | !std::is_same_v<T, char32_t> && |
5831 | | !std::is_same_v<T, bool>) { |
5832 | | return reader_impl_for_int<CharT>{}; |
5833 | | } |
5834 | | else { |
5835 | | return reader_impl_for_monostate<CharT>{}; |
5836 | | } |
5837 | 62.0k | } auto scn::v3::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>() Line | Count | Source | 5797 | 14.7k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 14.7k | std::is_same_v<T, std::wstring>) { | 5816 | 14.7k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 14.7k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, char>() Line | Count | Source | 5797 | 14.7k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 14.7k | std::is_same_v<T, std::wstring>) { | 5816 | 14.7k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 14.7k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>() Line | Count | Source | 5797 | 14.7k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | 14.7k | std::is_same_v<T, std::wstring_view>) { | 5812 | 14.7k | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | | std::is_same_v<T, std::wstring>) { | 5816 | | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 14.7k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, char>() auto scn::v3::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, wchar_t>() Line | Count | Source | 5797 | 5.99k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 5.99k | std::is_same_v<T, std::wstring>) { | 5816 | 5.99k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.99k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, wchar_t>() Line | Count | Source | 5797 | 5.99k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 5.99k | std::is_same_v<T, std::wstring>) { | 5816 | 5.99k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.99k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, wchar_t>() auto scn::v3::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>() Line | Count | Source | 5797 | 5.99k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | 5.99k | std::is_same_v<T, std::wstring_view>) { | 5812 | 5.99k | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | | std::is_same_v<T, std::wstring>) { | 5816 | | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.99k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<signed char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<short, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<int, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned short, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned int, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<float, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<double, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long double, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<char>, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<wchar_t>, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<wchar_t, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<signed char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<short, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<int, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned short, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned int, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<float, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<double, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long double, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<char>, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<wchar_t>, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<void*, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<bool, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<wchar_t, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char32_t, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::monostate, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<void*, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<bool, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char32_t, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::monostate, wchar_t>() |
5838 | | |
5839 | | template <typename Context> |
5840 | | struct default_arg_reader { |
5841 | | using context_type = Context; |
5842 | | using char_type = typename context_type::char_type; |
5843 | | using args_type = typename context_type::args_type; |
5844 | | |
5845 | | using range_type = typename context_type::range_type; |
5846 | | using iterator = ranges::iterator_t<range_type>; |
5847 | | |
5848 | | template <typename Reader, typename Range, typename T> |
5849 | | auto impl(Reader& rd, Range rng, T& value) |
5850 | | -> scan_expected<ranges::iterator_t<Range>> |
5851 | 11.4k | { |
5852 | 11.4k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) |
5853 | 11.4k | .transform_error(make_eof_scan_error)); |
5854 | 11.4k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); |
5855 | 11.4k | } Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 656 | { | 5852 | 656 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 656 | .transform_error(make_eof_scan_error)); | 5854 | 656 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 656 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIcSC_NS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENSA_IwNSB_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIwNSB_IwEENS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 612 | { | 5852 | 612 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 612 | .transform_error(make_eof_scan_error)); | 5854 | 612 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 612 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENSA_IcNSB_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIcNSB_IcEENS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIwSC_NS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ |
5856 | | |
5857 | | template <typename T> |
5858 | | scan_expected<iterator> operator()(T& value) |
5859 | 11.4k | { |
5860 | | if constexpr (!detail::is_type_disabled<T> && |
5861 | | std::is_same_v< |
5862 | | context_type, |
5863 | 11.4k | basic_contiguous_scan_context<char_type>>) { |
5864 | 11.4k | auto rd = make_reader<T, char_type>(); |
5865 | 11.4k | return impl(rd, range, value); |
5866 | | } |
5867 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
5868 | 0 | auto rd = make_reader<T, char_type>(); |
5869 | 0 | if (!is_segment_contiguous(range)) { |
5870 | 0 | return impl(rd, range, value); |
5871 | 0 | } |
5872 | 0 | auto crange = get_as_contiguous(range); |
5873 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
5874 | 0 | return ranges::next(range.begin(), |
5875 | 0 | ranges::distance(crange.begin(), it)); |
5876 | | } |
5877 | | else { |
5878 | | SCN_EXPECT(false); |
5879 | | SCN_UNREACHABLE; |
5880 | | } |
5881 | 11.4k | } Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<short>(short&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<int>(int&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<void*>(void*&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<bool>(bool&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char>(char&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<float>(float&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<double>(double&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long double>(long double&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5859 | 656 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 656 | basic_contiguous_scan_context<char_type>>) { | 5864 | 656 | auto rd = make_reader<T, char_type>(); | 5865 | 656 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 656 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<short>(short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<int>(int&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char>(char&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<float>(float&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<double>(double&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5859 | 612 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 612 | basic_contiguous_scan_context<char_type>>) { | 5864 | 612 | auto rd = make_reader<T, char_type>(); | 5865 | 612 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 612 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) |
5882 | | |
5883 | | basic_scan_context<char_type> make_custom_ctx() |
5884 | 0 | { |
5885 | | if constexpr (std::is_same_v< |
5886 | | context_type, |
5887 | 0 | basic_contiguous_scan_context<char_type>>) { |
5888 | 0 | auto it = |
5889 | 0 | typename detail::basic_scan_buffer<char_type>::forward_iterator{ |
5890 | 0 | std::basic_string_view<char_type>(range.data(), |
5891 | 0 | range.size()), |
5892 | 0 | 0}; |
5893 | 0 | return {it, args, loc}; |
5894 | | } |
5895 | 0 | else { |
5896 | 0 | return {range.begin(), args, loc}; |
5897 | 0 | } |
5898 | 0 | } Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::make_custom_ctx() |
5899 | | |
5900 | | scan_expected<iterator> operator()( |
5901 | | typename context_type::arg_type::handle h) |
5902 | 0 | { |
5903 | 0 | if constexpr (!detail::is_type_disabled<void>) { |
5904 | 0 | basic_scan_parse_context<char_type> parse_ctx{{}}; |
5905 | 0 | auto ctx = make_custom_ctx(); |
5906 | 0 | if (auto e = h.scan(parse_ctx, ctx); !e) { |
5907 | 0 | return unexpected(e); |
5908 | 0 | } |
5909 | | |
5910 | | if constexpr (std::is_same_v< |
5911 | | context_type, |
5912 | 0 | basic_contiguous_scan_context<char_type>>) { |
5913 | 0 | return range.begin() + ctx.begin().position(); |
5914 | | } |
5915 | 0 | else { |
5916 | 0 | return ctx.begin(); |
5917 | 0 | } |
5918 | | } |
5919 | | else { |
5920 | | SCN_EXPECT(false); |
5921 | | SCN_UNREACHABLE; |
5922 | | } |
5923 | 0 | } Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) |
5924 | | |
5925 | | range_type range; |
5926 | | args_type args; |
5927 | | detail::locale_ref loc; |
5928 | | }; |
5929 | | |
5930 | | template <typename Iterator> |
5931 | | using skip_fill_result = std::pair<Iterator, std::ptrdiff_t>; |
5932 | | |
5933 | | template <typename Range> |
5934 | | auto skip_fill(Range range, |
5935 | | std::ptrdiff_t max_width, |
5936 | | const detail::fill_type& fill, |
5937 | | bool want_skipped_width) |
5938 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
5939 | 6.89k | { |
5940 | 6.89k | using char_type = detail::char_t<Range>; |
5941 | 6.89k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
5942 | | |
5943 | 6.89k | if (fill.size() <= sizeof(char_type)) { |
5944 | 6.25k | const auto fill_ch = fill.template get_code_unit<char_type>(); |
5945 | 7.35k | const auto pred = [=](char_type ch) { return ch == fill_ch; };Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlcE_clEc _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5945 | 5.36k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlwE_clEw _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5945 | 990 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5945 | 724 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5945 | 280 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
|
5946 | | |
5947 | 6.25k | if (max_width == 0) { |
5948 | 5.30k | auto it = read_while_code_unit(range, pred); |
5949 | | |
5950 | 5.30k | if (want_skipped_width) { |
5951 | 322 | auto prefix_width = |
5952 | 322 | static_cast<std::ptrdiff_t>( |
5953 | 322 | calculate_text_width(static_cast<char32_t>(fill_ch))) * |
5954 | 322 | ranges::distance(range.begin(), it); |
5955 | 322 | return result_type{it, prefix_width}; |
5956 | 322 | } |
5957 | 4.98k | return result_type{it, 0}; |
5958 | 5.30k | } |
5959 | | |
5960 | 950 | auto max_width_view = take_width(range, max_width); |
5961 | 950 | auto w_it = read_while_code_unit(max_width_view, pred); |
5962 | | |
5963 | 950 | if (want_skipped_width) { |
5964 | 950 | return result_type{w_it.base(), max_width - w_it.count()}; |
5965 | 950 | } |
5966 | 0 | return result_type{w_it.base(), 0}; |
5967 | 950 | } |
5968 | | |
5969 | 646 | const auto fill_chars = fill.template get_code_units<char_type>(); |
5970 | 646 | if (max_width == 0) { |
5971 | 206 | auto it = read_while_code_units(range, fill_chars); |
5972 | | |
5973 | 206 | if (want_skipped_width) { |
5974 | 52 | auto prefix_width = |
5975 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * |
5976 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); |
5977 | 52 | return result_type{it, prefix_width}; |
5978 | 52 | } |
5979 | 154 | return result_type{it, 0}; |
5980 | 206 | } |
5981 | | |
5982 | 440 | auto max_width_view = take_width(range, max_width); |
5983 | 440 | auto w_it = read_while_code_units(max_width_view, fill_chars); |
5984 | | |
5985 | 440 | if (want_skipped_width) { |
5986 | 440 | return result_type{w_it.base(), max_width - w_it.count()}; |
5987 | 440 | } |
5988 | 0 | return result_type{w_it.base(), 0}; |
5989 | 440 | } Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 5.32k | { | 5940 | 5.32k | using char_type = detail::char_t<Range>; | 5941 | 5.32k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 5.32k | if (fill.size() <= sizeof(char_type)) { | 5944 | 4.93k | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 4.93k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 4.93k | if (max_width == 0) { | 5948 | 4.82k | auto it = read_while_code_unit(range, pred); | 5949 | | | 5950 | 4.82k | if (want_skipped_width) { | 5951 | 256 | auto prefix_width = | 5952 | 256 | static_cast<std::ptrdiff_t>( | 5953 | 256 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 256 | ranges::distance(range.begin(), it); | 5955 | 256 | return result_type{it, prefix_width}; | 5956 | 256 | } | 5957 | 4.56k | return result_type{it, 0}; | 5958 | 4.82k | } | 5959 | | | 5960 | 116 | auto max_width_view = take_width(range, max_width); | 5961 | 116 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 116 | if (want_skipped_width) { | 5964 | 116 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 116 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 116 | } | 5968 | | | 5969 | 384 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 384 | if (max_width == 0) { | 5971 | 206 | auto it = read_while_code_units(range, fill_chars); | 5972 | | | 5973 | 206 | if (want_skipped_width) { | 5974 | 52 | auto prefix_width = | 5975 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 52 | return result_type{it, prefix_width}; | 5978 | 52 | } | 5979 | 154 | return result_type{it, 0}; | 5980 | 206 | } | 5981 | | | 5982 | 178 | auto max_width_view = take_width(range, max_width); | 5983 | 178 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | | | 5985 | 178 | if (want_skipped_width) { | 5986 | 178 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 178 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 178 | } |
Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 540 | { | 5940 | 540 | using char_type = detail::char_t<Range>; | 5941 | 540 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 540 | if (fill.size() <= sizeof(char_type)) { | 5944 | 540 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 540 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 540 | if (max_width == 0) { | 5948 | 482 | auto it = read_while_code_unit(range, pred); | 5949 | | | 5950 | 482 | if (want_skipped_width) { | 5951 | 66 | auto prefix_width = | 5952 | 66 | static_cast<std::ptrdiff_t>( | 5953 | 66 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 66 | ranges::distance(range.begin(), it); | 5955 | 66 | return result_type{it, prefix_width}; | 5956 | 66 | } | 5957 | 416 | return result_type{it, 0}; | 5958 | 482 | } | 5959 | | | 5960 | 58 | auto max_width_view = take_width(range, max_width); | 5961 | 58 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 58 | if (want_skipped_width) { | 5964 | 58 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 58 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 58 | } | 5968 | | | 5969 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 0 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 0 | auto max_width_view = take_width(range, max_width); | 5983 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | |
| 5985 | 0 | if (want_skipped_width) { | 5986 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 0 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 0 | } |
_ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 804 | { | 5940 | 804 | using char_type = detail::char_t<Range>; | 5941 | 804 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 804 | if (fill.size() <= sizeof(char_type)) { | 5944 | 542 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 542 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 542 | if (max_width == 0) { | 5948 | 0 | auto it = read_while_code_unit(range, pred); | 5949 | |
| 5950 | 0 | if (want_skipped_width) { | 5951 | 0 | auto prefix_width = | 5952 | 0 | static_cast<std::ptrdiff_t>( | 5953 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 0 | ranges::distance(range.begin(), it); | 5955 | 0 | return result_type{it, prefix_width}; | 5956 | 0 | } | 5957 | 0 | return result_type{it, 0}; | 5958 | 0 | } | 5959 | | | 5960 | 542 | auto max_width_view = take_width(range, max_width); | 5961 | 542 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 542 | if (want_skipped_width) { | 5964 | 542 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 542 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 542 | } | 5968 | | | 5969 | 262 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 262 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 262 | auto max_width_view = take_width(range, max_width); | 5983 | 262 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | | | 5985 | 262 | if (want_skipped_width) { | 5986 | 262 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 262 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 262 | } |
_ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 234 | { | 5940 | 234 | using char_type = detail::char_t<Range>; | 5941 | 234 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 234 | if (fill.size() <= sizeof(char_type)) { | 5944 | 234 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 234 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 234 | if (max_width == 0) { | 5948 | 0 | auto it = read_while_code_unit(range, pred); | 5949 | |
| 5950 | 0 | if (want_skipped_width) { | 5951 | 0 | auto prefix_width = | 5952 | 0 | static_cast<std::ptrdiff_t>( | 5953 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 0 | ranges::distance(range.begin(), it); | 5955 | 0 | return result_type{it, prefix_width}; | 5956 | 0 | } | 5957 | 0 | return result_type{it, 0}; | 5958 | 0 | } | 5959 | | | 5960 | 234 | auto max_width_view = take_width(range, max_width); | 5961 | 234 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 234 | if (want_skipped_width) { | 5964 | 234 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 234 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 234 | } | 5968 | | | 5969 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 0 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 0 | auto max_width_view = take_width(range, max_width); | 5983 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | |
| 5985 | 0 | if (want_skipped_width) { | 5986 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 0 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 0 | } |
|
5990 | | |
5991 | | SCN_MAYBE_UNUSED constexpr scan_error check_widths_for_arg_reader( |
5992 | | const detail::format_specs& specs, |
5993 | | std::ptrdiff_t prefix_width, |
5994 | | std::ptrdiff_t value_width, |
5995 | | std::ptrdiff_t postfix_width) |
5996 | 13.2k | { |
5997 | 13.2k | if (specs.width != 0) { |
5998 | 3.27k | if (prefix_width + value_width + postfix_width < specs.width) { |
5999 | 2.04k | return {scan_error::invalid_scanned_value, |
6000 | 2.04k | "Scanned value too narrow, width did not exceed what " |
6001 | 2.04k | "was specified in the format string"}; |
6002 | 2.04k | } |
6003 | 3.27k | } |
6004 | 11.2k | if (specs.precision != 0) { |
6005 | 2.18k | if (prefix_width + value_width + postfix_width > specs.precision) { |
6006 | 114 | return {scan_error::invalid_scanned_value, |
6007 | 114 | "Scanned value too wide, width exceeded the specified " |
6008 | 114 | "precision"}; |
6009 | 114 | } |
6010 | 2.18k | } |
6011 | 11.0k | return {}; |
6012 | 11.2k | } |
6013 | | |
6014 | | template <typename Context> |
6015 | | struct arg_reader { |
6016 | | using context_type = Context; |
6017 | | using char_type = typename context_type::char_type; |
6018 | | |
6019 | | using range_type = typename context_type::range_type; |
6020 | | using iterator = ranges::iterator_t<range_type>; |
6021 | | |
6022 | | template <typename Range> |
6023 | | auto impl_prefix(Range rng, bool rd_skip_ws_before_read) |
6024 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6025 | 65.0k | { |
6026 | 65.0k | const bool need_skipped_width = |
6027 | 65.0k | specs.width != 0 || specs.precision != 0; |
6028 | 65.0k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6029 | | |
6030 | | // Read prefix |
6031 | 65.0k | if (specs.align == detail::align_type::right || |
6032 | 65.0k | specs.align == detail::align_type::center) { |
6033 | 6.14k | return skip_fill(rng, specs.precision, specs.fill, |
6034 | 6.14k | need_skipped_width); |
6035 | 6.14k | } |
6036 | 58.8k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { |
6037 | | // Default alignment: |
6038 | | // Skip preceding whitespace, if required by the reader |
6039 | 7.80k | if (specs.precision != 0) { |
6040 | 3.42k | auto max_width_view = take_width(rng, specs.precision); |
6041 | 3.42k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) |
6042 | 3.24k | .transform_error(make_eof_scan_error)); |
6043 | 3.24k | return result_type{w_it.base(), specs.precision - w_it.count()}; |
6044 | 3.42k | } |
6045 | 8.76k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( |
6046 | 8.76k | make_eof_scan_error)); |
6047 | | |
6048 | 8.76k | if (need_skipped_width) { |
6049 | 3.06k | return result_type{ |
6050 | 3.06k | it, |
6051 | 3.06k | calculate_text_width(make_contiguous_buffer( |
6052 | 3.06k | ranges::subrange{rng.begin(), it}) |
6053 | 3.06k | .view())}; |
6054 | 3.06k | } |
6055 | 1.31k | return result_type{it, 0}; |
6056 | 8.76k | } |
6057 | | |
6058 | 51.0k | return result_type{rng.begin(), 0}; |
6059 | 58.8k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_b _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6025 | 5.57k | { | 6026 | 5.57k | const bool need_skipped_width = | 6027 | 5.57k | specs.width != 0 || specs.precision != 0; | 6028 | 5.57k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 5.57k | if (specs.align == detail::align_type::right || | 6032 | 5.57k | specs.align == detail::align_type::center) { | 6033 | 804 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 804 | need_skipped_width); | 6035 | 804 | } | 6036 | 4.77k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 2.13k | if (specs.precision != 0) { | 6040 | 2.13k | auto max_width_view = take_width(rng, specs.precision); | 6041 | 2.13k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 1.96k | .transform_error(make_eof_scan_error)); | 6043 | 1.96k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 2.13k | } | 6045 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 0 | make_eof_scan_error)); | 6047 | |
| 6048 | 0 | if (need_skipped_width) { | 6049 | 0 | return result_type{ | 6050 | 0 | it, | 6051 | 0 | calculate_text_width(make_contiguous_buffer( | 6052 | 0 | ranges::subrange{rng.begin(), it}) | 6053 | 0 | .view())}; | 6054 | 0 | } | 6055 | 0 | return result_type{it, 0}; | 6056 | 0 | } | 6057 | | | 6058 | 2.63k | return result_type{rng.begin(), 0}; | 6059 | 4.77k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6025 | 40.0k | { | 6026 | 40.0k | const bool need_skipped_width = | 6027 | 40.0k | specs.width != 0 || specs.precision != 0; | 6028 | 40.0k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 40.0k | if (specs.align == detail::align_type::right || | 6032 | 40.0k | specs.align == detail::align_type::center) { | 6033 | 4.77k | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 4.77k | need_skipped_width); | 6035 | 4.77k | } | 6036 | 35.2k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 1.71k | if (specs.precision != 0) { | 6040 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6041 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 0 | .transform_error(make_eof_scan_error)); | 6043 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 0 | } | 6045 | 3.42k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 3.42k | make_eof_scan_error)); | 6047 | | | 6048 | 3.42k | if (need_skipped_width) { | 6049 | 1.08k | return result_type{ | 6050 | 1.08k | it, | 6051 | 1.08k | calculate_text_width(make_contiguous_buffer( | 6052 | 1.08k | ranges::subrange{rng.begin(), it}) | 6053 | 1.08k | .view())}; | 6054 | 1.08k | } | 6055 | 628 | return result_type{it, 0}; | 6056 | 3.42k | } | 6057 | | | 6058 | 33.5k | return result_type{rng.begin(), 0}; | 6059 | 35.2k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6025 | 2.07k | { | 6026 | 2.07k | const bool need_skipped_width = | 6027 | 2.07k | specs.width != 0 || specs.precision != 0; | 6028 | 2.07k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 2.07k | if (specs.align == detail::align_type::right || | 6032 | 2.07k | specs.align == detail::align_type::center) { | 6033 | 234 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 234 | need_skipped_width); | 6035 | 234 | } | 6036 | 1.84k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 1.28k | if (specs.precision != 0) { | 6040 | 1.28k | auto max_width_view = take_width(rng, specs.precision); | 6041 | 1.28k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 1.28k | .transform_error(make_eof_scan_error)); | 6043 | 1.28k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 1.28k | } | 6045 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 0 | make_eof_scan_error)); | 6047 | |
| 6048 | 0 | if (need_skipped_width) { | 6049 | 0 | return result_type{ | 6050 | 0 | it, | 6051 | 0 | calculate_text_width(make_contiguous_buffer( | 6052 | 0 | ranges::subrange{rng.begin(), it}) | 6053 | 0 | .view())}; | 6054 | 0 | } | 6055 | 0 | return result_type{it, 0}; | 6056 | 0 | } | 6057 | | | 6058 | 558 | return result_type{rng.begin(), 0}; | 6059 | 1.84k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6025 | 17.2k | { | 6026 | 17.2k | const bool need_skipped_width = | 6027 | 17.2k | specs.width != 0 || specs.precision != 0; | 6028 | 17.2k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 17.2k | if (specs.align == detail::align_type::right || | 6032 | 17.2k | specs.align == detail::align_type::center) { | 6033 | 332 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 332 | need_skipped_width); | 6035 | 332 | } | 6036 | 16.9k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 2.67k | if (specs.precision != 0) { | 6040 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6041 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 0 | .transform_error(make_eof_scan_error)); | 6043 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 0 | } | 6045 | 5.34k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 5.34k | make_eof_scan_error)); | 6047 | | | 6048 | 5.34k | if (need_skipped_width) { | 6049 | 1.98k | return result_type{ | 6050 | 1.98k | it, | 6051 | 1.98k | calculate_text_width(make_contiguous_buffer( | 6052 | 1.98k | ranges::subrange{rng.begin(), it}) | 6053 | 1.98k | .view())}; | 6054 | 1.98k | } | 6055 | 686 | return result_type{it, 0}; | 6056 | 5.34k | } | 6057 | | | 6058 | 14.2k | return result_type{rng.begin(), 0}; | 6059 | 16.9k | } |
|
6060 | | |
6061 | | template <typename Range> |
6062 | | auto impl_postfix(Range rng, |
6063 | | bool rd_skip_ws_before_read, |
6064 | | std::ptrdiff_t prefix_width, |
6065 | | std::ptrdiff_t value_width) |
6066 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6067 | 10.6k | { |
6068 | 10.6k | const bool need_skipped_width = |
6069 | 10.6k | specs.width != 0 || specs.precision != 0; |
6070 | 10.6k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6071 | | |
6072 | 10.6k | if (specs.align == detail::align_type::left || |
6073 | 10.6k | specs.align == detail::align_type::center) { |
6074 | 904 | if (specs.precision != 0 && |
6075 | 904 | specs.precision - value_width - prefix_width == 0) { |
6076 | 154 | return result_type{rng.begin(), 0}; |
6077 | 154 | } |
6078 | 750 | return skip_fill(rng, specs.precision - value_width - prefix_width, |
6079 | 750 | specs.fill, need_skipped_width); |
6080 | 904 | } |
6081 | 9.76k | if (specs.align == detail::align_type::none && |
6082 | 9.76k | !rd_skip_ws_before_read && |
6083 | 9.76k | ((specs.width != 0 && prefix_width + value_width < specs.width) || |
6084 | 8.97k | (specs.precision != 0 && |
6085 | 7.29k | prefix_width + value_width < specs.precision))) { |
6086 | 2.52k | if (specs.precision != 0) { |
6087 | 844 | const auto initial_width = |
6088 | 844 | specs.precision - prefix_width - value_width; |
6089 | 844 | auto max_width_view = take_width(rng, initial_width); |
6090 | 844 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) |
6091 | 844 | .transform_error(make_eof_scan_error)); |
6092 | 844 | return result_type{w_it.base(), initial_width - w_it.count()}; |
6093 | 844 | } |
6094 | 3.36k | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( |
6095 | 3.36k | make_eof_scan_error)); |
6096 | | |
6097 | 3.36k | if (need_skipped_width) { |
6098 | 1.68k | return result_type{ |
6099 | 1.68k | it, |
6100 | 1.68k | calculate_text_width(make_contiguous_buffer( |
6101 | 1.68k | ranges::subrange{rng.begin(), it}) |
6102 | 1.68k | .view())}; |
6103 | 1.68k | } |
6104 | 0 | return result_type{it, 0}; |
6105 | 3.36k | } |
6106 | 7.24k | return result_type{rng.begin(), 0}; |
6107 | 9.76k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6067 | 7.24k | { | 6068 | 7.24k | const bool need_skipped_width = | 6069 | 7.24k | specs.width != 0 || specs.precision != 0; | 6070 | 7.24k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6071 | | | 6072 | 7.24k | if (specs.align == detail::align_type::left || | 6073 | 7.24k | specs.align == detail::align_type::center) { | 6074 | 652 | if (specs.precision != 0 && | 6075 | 652 | specs.precision - value_width - prefix_width == 0) { | 6076 | 110 | return result_type{rng.begin(), 0}; | 6077 | 110 | } | 6078 | 542 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6079 | 542 | specs.fill, need_skipped_width); | 6080 | 652 | } | 6081 | 6.59k | if (specs.align == detail::align_type::none && | 6082 | 6.59k | !rd_skip_ws_before_read && | 6083 | 6.59k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6084 | 6.07k | (specs.precision != 0 && | 6085 | 5.81k | prefix_width + value_width < specs.precision))) { | 6086 | 802 | if (specs.precision != 0) { | 6087 | 540 | const auto initial_width = | 6088 | 540 | specs.precision - prefix_width - value_width; | 6089 | 540 | auto max_width_view = take_width(rng, initial_width); | 6090 | 540 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6091 | 540 | .transform_error(make_eof_scan_error)); | 6092 | 540 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6093 | 540 | } | 6094 | 524 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6095 | 524 | make_eof_scan_error)); | 6096 | | | 6097 | 524 | if (need_skipped_width) { | 6098 | 262 | return result_type{ | 6099 | 262 | it, | 6100 | 262 | calculate_text_width(make_contiguous_buffer( | 6101 | 262 | ranges::subrange{rng.begin(), it}) | 6102 | 262 | .view())}; | 6103 | 262 | } | 6104 | 0 | return result_type{it, 0}; | 6105 | 524 | } | 6106 | 5.78k | return result_type{rng.begin(), 0}; | 6107 | 6.59k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6067 | 3.42k | { | 6068 | 3.42k | const bool need_skipped_width = | 6069 | 3.42k | specs.width != 0 || specs.precision != 0; | 6070 | 3.42k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6071 | | | 6072 | 3.42k | if (specs.align == detail::align_type::left || | 6073 | 3.42k | specs.align == detail::align_type::center) { | 6074 | 252 | if (specs.precision != 0 && | 6075 | 252 | specs.precision - value_width - prefix_width == 0) { | 6076 | 44 | return result_type{rng.begin(), 0}; | 6077 | 44 | } | 6078 | 208 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6079 | 208 | specs.fill, need_skipped_width); | 6080 | 252 | } | 6081 | 3.17k | if (specs.align == detail::align_type::none && | 6082 | 3.17k | !rd_skip_ws_before_read && | 6083 | 3.17k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6084 | 2.90k | (specs.precision != 0 && | 6085 | 1.72k | prefix_width + value_width < specs.precision))) { | 6086 | 1.72k | if (specs.precision != 0) { | 6087 | 304 | const auto initial_width = | 6088 | 304 | specs.precision - prefix_width - value_width; | 6089 | 304 | auto max_width_view = take_width(rng, initial_width); | 6090 | 304 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6091 | 304 | .transform_error(make_eof_scan_error)); | 6092 | 304 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6093 | 304 | } | 6094 | 2.83k | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6095 | 2.83k | make_eof_scan_error)); | 6096 | | | 6097 | 2.83k | if (need_skipped_width) { | 6098 | 1.41k | return result_type{ | 6099 | 1.41k | it, | 6100 | 1.41k | calculate_text_width(make_contiguous_buffer( | 6101 | 1.41k | ranges::subrange{rng.begin(), it}) | 6102 | 1.41k | .view())}; | 6103 | 1.41k | } | 6104 | 0 | return result_type{it, 0}; | 6105 | 2.83k | } | 6106 | 1.45k | return result_type{rng.begin(), 0}; | 6107 | 3.17k | } |
|
6108 | | |
6109 | | template <typename Reader, typename Range, typename T> |
6110 | | auto impl(Reader& rd, Range rng, T& value) |
6111 | | -> scan_expected<ranges::iterator_t<Range>> |
6112 | 65.0k | { |
6113 | 65.0k | const bool need_skipped_width = |
6114 | 65.0k | specs.width != 0 || specs.precision != 0; |
6115 | | |
6116 | | // Read prefix |
6117 | 65.0k | auto it = rng.begin(); |
6118 | 65.0k | std::ptrdiff_t prefix_width = 0; |
6119 | 65.0k | if (specs.precision != 0) { |
6120 | 7.65k | auto max_width_view = take_width(rng, specs.precision); |
6121 | 7.65k | SCN_TRY(prefix_result, |
6122 | 7.48k | impl_prefix(max_width_view, rd.skip_ws_before_read())); |
6123 | 7.48k | it = prefix_result.first.base(); |
6124 | 7.48k | prefix_width = prefix_result.second; |
6125 | 7.48k | } |
6126 | 57.3k | else { |
6127 | 57.3k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); |
6128 | 57.3k | std::tie(it, prefix_width) = prefix_result; |
6129 | 57.3k | } |
6130 | 64.8k | auto prefix_end_it = it; |
6131 | | |
6132 | | // Read value |
6133 | 64.8k | std::ptrdiff_t value_width = 0; |
6134 | 64.8k | if (specs.precision != 0) { |
6135 | 7.48k | if (specs.precision <= prefix_width) { |
6136 | 88 | return unexpected_scan_error( |
6137 | 88 | scan_error::invalid_scanned_value, |
6138 | 88 | "Too many fill characters before value, " |
6139 | 88 | "precision exceeded before reading value"); |
6140 | 88 | } |
6141 | | |
6142 | 7.39k | const auto initial_width = specs.precision - prefix_width; |
6143 | 7.39k | auto max_width_view = |
6144 | 7.39k | take_width(ranges::subrange{it, rng.end()}, initial_width); |
6145 | 7.39k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); |
6146 | 2.18k | it = w_it.base(); |
6147 | 2.18k | value_width = initial_width - w_it.count(); |
6148 | 2.18k | } |
6149 | 57.3k | else { |
6150 | 57.3k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, |
6151 | 11.0k | specs, value, loc)); |
6152 | | |
6153 | 11.0k | if (need_skipped_width) { |
6154 | 3.22k | value_width = calculate_text_width( |
6155 | 3.22k | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) |
6156 | 3.22k | .view()); |
6157 | 3.22k | } |
6158 | 11.0k | } |
6159 | | |
6160 | | // Read postfix |
6161 | 13.2k | std::ptrdiff_t postfix_width = 0; |
6162 | 13.2k | if (it != rng.end()) { |
6163 | 10.6k | SCN_TRY(postfix_result, |
6164 | 10.6k | impl_postfix(ranges::subrange{it, rng.end()}, |
6165 | 10.6k | rd.skip_ws_before_read(), prefix_width, |
6166 | 10.6k | value_width)); |
6167 | 10.6k | std::tie(it, postfix_width) = postfix_result; |
6168 | 10.6k | } |
6169 | | |
6170 | 13.2k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, |
6171 | 13.2k | value_width, postfix_width); |
6172 | 13.2k | !e) { |
6173 | 2.15k | return unexpected(e); |
6174 | 2.15k | } |
6175 | | |
6176 | 11.0k | return it; |
6177 | 13.2k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIcSC_NS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIwNSB_IwEENS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENSA_IwNSB_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIcNSB_IcEENS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIwSC_NS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENSA_IcNSB_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 640 | { | 6113 | 640 | const bool need_skipped_width = | 6114 | 640 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 640 | auto it = rng.begin(); | 6118 | 640 | std::ptrdiff_t prefix_width = 0; | 6119 | 640 | if (specs.precision != 0) { | 6120 | 326 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 326 | SCN_TRY(prefix_result, | 6122 | 302 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 302 | it = prefix_result.first.base(); | 6124 | 302 | prefix_width = prefix_result.second; | 6125 | 302 | } | 6126 | 314 | else { | 6127 | 314 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 314 | std::tie(it, prefix_width) = prefix_result; | 6129 | 314 | } | 6130 | 616 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 616 | std::ptrdiff_t value_width = 0; | 6134 | 616 | if (specs.precision != 0) { | 6135 | 302 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 296 | const auto initial_width = specs.precision - prefix_width; | 6143 | 296 | auto max_width_view = | 6144 | 296 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 296 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 314 | else { | 6150 | 314 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 640 | { | 6113 | 640 | const bool need_skipped_width = | 6114 | 640 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 640 | auto it = rng.begin(); | 6118 | 640 | std::ptrdiff_t prefix_width = 0; | 6119 | 640 | if (specs.precision != 0) { | 6120 | 326 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 326 | SCN_TRY(prefix_result, | 6122 | 302 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 302 | it = prefix_result.first.base(); | 6124 | 302 | prefix_width = prefix_result.second; | 6125 | 302 | } | 6126 | 314 | else { | 6127 | 314 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 314 | std::tie(it, prefix_width) = prefix_result; | 6129 | 314 | } | 6130 | 616 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 616 | std::ptrdiff_t value_width = 0; | 6134 | 616 | if (specs.precision != 0) { | 6135 | 302 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 296 | const auto initial_width = specs.precision - prefix_width; | 6143 | 296 | auto max_width_view = | 6144 | 296 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 296 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 314 | else { | 6150 | 314 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6112 | 538 | { | 6113 | 538 | const bool need_skipped_width = | 6114 | 538 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 538 | auto it = rng.begin(); | 6118 | 538 | std::ptrdiff_t prefix_width = 0; | 6119 | 538 | if (specs.precision != 0) { | 6120 | 284 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 284 | SCN_TRY(prefix_result, | 6122 | 268 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 268 | it = prefix_result.first.base(); | 6124 | 268 | prefix_width = prefix_result.second; | 6125 | 268 | } | 6126 | 254 | else { | 6127 | 254 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 254 | std::tie(it, prefix_width) = prefix_result; | 6129 | 254 | } | 6130 | 522 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 522 | std::ptrdiff_t value_width = 0; | 6134 | 522 | if (specs.precision != 0) { | 6135 | 268 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 264 | const auto initial_width = specs.precision - prefix_width; | 6143 | 264 | auto max_width_view = | 6144 | 264 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 264 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 254 | else { | 6150 | 254 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 866 | { | 6113 | 866 | const bool need_skipped_width = | 6114 | 866 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 866 | auto it = rng.begin(); | 6118 | 866 | std::ptrdiff_t prefix_width = 0; | 6119 | 866 | if (specs.precision != 0) { | 6120 | 408 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 408 | SCN_TRY(prefix_result, | 6122 | 380 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 380 | it = prefix_result.first.base(); | 6124 | 380 | prefix_width = prefix_result.second; | 6125 | 380 | } | 6126 | 458 | else { | 6127 | 458 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 458 | std::tie(it, prefix_width) = prefix_result; | 6129 | 458 | } | 6130 | 838 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 838 | std::ptrdiff_t value_width = 0; | 6134 | 838 | if (specs.precision != 0) { | 6135 | 380 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 374 | const auto initial_width = specs.precision - prefix_width; | 6143 | 374 | auto max_width_view = | 6144 | 374 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 374 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 458 | else { | 6150 | 458 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 588 | { | 6113 | 588 | const bool need_skipped_width = | 6114 | 588 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 588 | auto it = rng.begin(); | 6118 | 588 | std::ptrdiff_t prefix_width = 0; | 6119 | 588 | if (specs.precision != 0) { | 6120 | 316 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 316 | SCN_TRY(prefix_result, | 6122 | 316 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 316 | it = prefix_result.first.base(); | 6124 | 316 | prefix_width = prefix_result.second; | 6125 | 316 | } | 6126 | 272 | else { | 6127 | 272 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 272 | std::tie(it, prefix_width) = prefix_result; | 6129 | 272 | } | 6130 | 588 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 588 | std::ptrdiff_t value_width = 0; | 6134 | 588 | if (specs.precision != 0) { | 6135 | 316 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 310 | const auto initial_width = specs.precision - prefix_width; | 6143 | 310 | auto max_width_view = | 6144 | 310 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 310 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 278 | it = w_it.base(); | 6147 | 278 | value_width = initial_width - w_it.count(); | 6148 | 278 | } | 6149 | 272 | else { | 6150 | 272 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 250 | specs, value, loc)); | 6152 | | | 6153 | 250 | if (need_skipped_width) { | 6154 | 180 | value_width = calculate_text_width( | 6155 | 180 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 180 | .view()); | 6157 | 180 | } | 6158 | 250 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 528 | std::ptrdiff_t postfix_width = 0; | 6162 | 528 | if (it != rng.end()) { | 6163 | 528 | SCN_TRY(postfix_result, | 6164 | 528 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 528 | rd.skip_ws_before_read(), prefix_width, | 6166 | 528 | value_width)); | 6167 | 528 | std::tie(it, postfix_width) = postfix_result; | 6168 | 528 | } | 6169 | | | 6170 | 528 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 528 | value_width, postfix_width); | 6172 | 528 | !e) { | 6173 | 160 | return unexpected(e); | 6174 | 160 | } | 6175 | | | 6176 | 368 | return it; | 6177 | 528 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 612 | { | 6113 | 612 | const bool need_skipped_width = | 6114 | 612 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 612 | auto it = rng.begin(); | 6118 | 612 | std::ptrdiff_t prefix_width = 0; | 6119 | 612 | if (specs.precision != 0) { | 6120 | 322 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 322 | SCN_TRY(prefix_result, | 6122 | 300 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 300 | it = prefix_result.first.base(); | 6124 | 300 | prefix_width = prefix_result.second; | 6125 | 300 | } | 6126 | 290 | else { | 6127 | 290 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 290 | std::tie(it, prefix_width) = prefix_result; | 6129 | 290 | } | 6130 | 590 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 590 | std::ptrdiff_t value_width = 0; | 6134 | 590 | if (specs.precision != 0) { | 6135 | 300 | if (specs.precision <= prefix_width) { | 6136 | 8 | return unexpected_scan_error( | 6137 | 8 | scan_error::invalid_scanned_value, | 6138 | 8 | "Too many fill characters before value, " | 6139 | 8 | "precision exceeded before reading value"); | 6140 | 8 | } | 6141 | | | 6142 | 292 | const auto initial_width = specs.precision - prefix_width; | 6143 | 292 | auto max_width_view = | 6144 | 292 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 292 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 290 | else { | 6150 | 290 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6112 | 13.9k | { | 6113 | 13.9k | const bool need_skipped_width = | 6114 | 13.9k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 13.9k | auto it = rng.begin(); | 6118 | 13.9k | std::ptrdiff_t prefix_width = 0; | 6119 | 13.9k | if (specs.precision != 0) { | 6120 | 1.19k | auto max_width_view = take_width(rng, specs.precision); | 6121 | 1.19k | SCN_TRY(prefix_result, | 6122 | 1.17k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 1.17k | it = prefix_result.first.base(); | 6124 | 1.17k | prefix_width = prefix_result.second; | 6125 | 1.17k | } | 6126 | 12.7k | else { | 6127 | 12.7k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 12.7k | std::tie(it, prefix_width) = prefix_result; | 6129 | 12.7k | } | 6130 | 13.9k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 13.9k | std::ptrdiff_t value_width = 0; | 6134 | 13.9k | if (specs.precision != 0) { | 6135 | 1.17k | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 1.17k | const auto initial_width = specs.precision - prefix_width; | 6143 | 1.17k | auto max_width_view = | 6144 | 1.17k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 1.17k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 410 | it = w_it.base(); | 6147 | 410 | value_width = initial_width - w_it.count(); | 6148 | 410 | } | 6149 | 12.7k | else { | 6150 | 12.7k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 2.35k | specs, value, loc)); | 6152 | | | 6153 | 2.35k | if (need_skipped_width) { | 6154 | 262 | value_width = calculate_text_width( | 6155 | 262 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 262 | .view()); | 6157 | 262 | } | 6158 | 2.35k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 2.76k | std::ptrdiff_t postfix_width = 0; | 6162 | 2.76k | if (it != rng.end()) { | 6163 | 2.23k | SCN_TRY(postfix_result, | 6164 | 2.23k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 2.23k | rd.skip_ws_before_read(), prefix_width, | 6166 | 2.23k | value_width)); | 6167 | 2.23k | std::tie(it, postfix_width) = postfix_result; | 6168 | 2.23k | } | 6169 | | | 6170 | 2.76k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 2.76k | value_width, postfix_width); | 6172 | 2.76k | !e) { | 6173 | 158 | return unexpected(e); | 6174 | 158 | } | 6175 | | | 6176 | 2.60k | return it; | 6177 | 2.76k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 13.9k | { | 6113 | 13.9k | const bool need_skipped_width = | 6114 | 13.9k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 13.9k | auto it = rng.begin(); | 6118 | 13.9k | std::ptrdiff_t prefix_width = 0; | 6119 | 13.9k | if (specs.precision != 0) { | 6120 | 1.19k | auto max_width_view = take_width(rng, specs.precision); | 6121 | 1.19k | SCN_TRY(prefix_result, | 6122 | 1.17k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 1.17k | it = prefix_result.first.base(); | 6124 | 1.17k | prefix_width = prefix_result.second; | 6125 | 1.17k | } | 6126 | 12.7k | else { | 6127 | 12.7k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 12.7k | std::tie(it, prefix_width) = prefix_result; | 6129 | 12.7k | } | 6130 | 13.9k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 13.9k | std::ptrdiff_t value_width = 0; | 6134 | 13.9k | if (specs.precision != 0) { | 6135 | 1.17k | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 1.17k | const auto initial_width = specs.precision - prefix_width; | 6143 | 1.17k | auto max_width_view = | 6144 | 1.17k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 1.17k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 410 | it = w_it.base(); | 6147 | 410 | value_width = initial_width - w_it.count(); | 6148 | 410 | } | 6149 | 12.7k | else { | 6150 | 12.7k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 2.35k | specs, value, loc)); | 6152 | | | 6153 | 2.35k | if (need_skipped_width) { | 6154 | 262 | value_width = calculate_text_width( | 6155 | 262 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 262 | .view()); | 6157 | 262 | } | 6158 | 2.35k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 2.76k | std::ptrdiff_t postfix_width = 0; | 6162 | 2.76k | if (it != rng.end()) { | 6163 | 2.23k | SCN_TRY(postfix_result, | 6164 | 2.23k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 2.23k | rd.skip_ws_before_read(), prefix_width, | 6166 | 2.23k | value_width)); | 6167 | 2.23k | std::tie(it, postfix_width) = postfix_result; | 6168 | 2.23k | } | 6169 | | | 6170 | 2.76k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 2.76k | value_width, postfix_width); | 6172 | 2.76k | !e) { | 6173 | 158 | return unexpected(e); | 6174 | 158 | } | 6175 | | | 6176 | 2.60k | return it; | 6177 | 2.76k | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 13.9k | { | 6113 | 13.9k | const bool need_skipped_width = | 6114 | 13.9k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 13.9k | auto it = rng.begin(); | 6118 | 13.9k | std::ptrdiff_t prefix_width = 0; | 6119 | 13.9k | if (specs.precision != 0) { | 6120 | 1.19k | auto max_width_view = take_width(rng, specs.precision); | 6121 | 1.19k | SCN_TRY(prefix_result, | 6122 | 1.17k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 1.17k | it = prefix_result.first.base(); | 6124 | 1.17k | prefix_width = prefix_result.second; | 6125 | 1.17k | } | 6126 | 12.7k | else { | 6127 | 12.7k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 12.7k | std::tie(it, prefix_width) = prefix_result; | 6129 | 12.7k | } | 6130 | 13.9k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 13.9k | std::ptrdiff_t value_width = 0; | 6134 | 13.9k | if (specs.precision != 0) { | 6135 | 1.17k | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 1.17k | const auto initial_width = specs.precision - prefix_width; | 6143 | 1.17k | auto max_width_view = | 6144 | 1.17k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 1.17k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 410 | it = w_it.base(); | 6147 | 410 | value_width = initial_width - w_it.count(); | 6148 | 410 | } | 6149 | 12.7k | else { | 6150 | 12.7k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 2.35k | specs, value, loc)); | 6152 | | | 6153 | 2.35k | if (need_skipped_width) { | 6154 | 262 | value_width = calculate_text_width( | 6155 | 262 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 262 | .view()); | 6157 | 262 | } | 6158 | 2.35k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 2.76k | std::ptrdiff_t postfix_width = 0; | 6162 | 2.76k | if (it != rng.end()) { | 6163 | 2.23k | SCN_TRY(postfix_result, | 6164 | 2.23k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 2.23k | rd.skip_ws_before_read(), prefix_width, | 6166 | 2.23k | value_width)); | 6167 | 2.23k | std::tie(it, postfix_width) = postfix_result; | 6168 | 2.23k | } | 6169 | | | 6170 | 2.76k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 2.76k | value_width, postfix_width); | 6172 | 2.76k | !e) { | 6173 | 158 | return unexpected(e); | 6174 | 158 | } | 6175 | | | 6176 | 2.60k | return it; | 6177 | 2.76k | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 586 | { | 6113 | 586 | const bool need_skipped_width = | 6114 | 586 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 586 | auto it = rng.begin(); | 6118 | 586 | std::ptrdiff_t prefix_width = 0; | 6119 | 586 | if (specs.precision != 0) { | 6120 | 200 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 200 | SCN_TRY(prefix_result, | 6122 | 200 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 200 | it = prefix_result.first.base(); | 6124 | 200 | prefix_width = prefix_result.second; | 6125 | 200 | } | 6126 | 386 | else { | 6127 | 386 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 386 | std::tie(it, prefix_width) = prefix_result; | 6129 | 386 | } | 6130 | 586 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 586 | std::ptrdiff_t value_width = 0; | 6134 | 586 | if (specs.precision != 0) { | 6135 | 200 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 198 | const auto initial_width = specs.precision - prefix_width; | 6143 | 198 | auto max_width_view = | 6144 | 198 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 198 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 386 | else { | 6150 | 386 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 586 | { | 6113 | 586 | const bool need_skipped_width = | 6114 | 586 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 586 | auto it = rng.begin(); | 6118 | 586 | std::ptrdiff_t prefix_width = 0; | 6119 | 586 | if (specs.precision != 0) { | 6120 | 200 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 200 | SCN_TRY(prefix_result, | 6122 | 200 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 200 | it = prefix_result.first.base(); | 6124 | 200 | prefix_width = prefix_result.second; | 6125 | 200 | } | 6126 | 386 | else { | 6127 | 386 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 386 | std::tie(it, prefix_width) = prefix_result; | 6129 | 386 | } | 6130 | 586 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 586 | std::ptrdiff_t value_width = 0; | 6134 | 586 | if (specs.precision != 0) { | 6135 | 200 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 198 | const auto initial_width = specs.precision - prefix_width; | 6143 | 198 | auto max_width_view = | 6144 | 198 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 198 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 386 | else { | 6150 | 386 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6112 | 506 | { | 6113 | 506 | const bool need_skipped_width = | 6114 | 506 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 506 | auto it = rng.begin(); | 6118 | 506 | std::ptrdiff_t prefix_width = 0; | 6119 | 506 | if (specs.precision != 0) { | 6120 | 162 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 162 | SCN_TRY(prefix_result, | 6122 | 162 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 162 | it = prefix_result.first.base(); | 6124 | 162 | prefix_width = prefix_result.second; | 6125 | 162 | } | 6126 | 344 | else { | 6127 | 344 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 344 | std::tie(it, prefix_width) = prefix_result; | 6129 | 344 | } | 6130 | 506 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 506 | std::ptrdiff_t value_width = 0; | 6134 | 506 | if (specs.precision != 0) { | 6135 | 162 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 160 | const auto initial_width = specs.precision - prefix_width; | 6143 | 160 | auto max_width_view = | 6144 | 160 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 160 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 344 | else { | 6150 | 344 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 674 | { | 6113 | 674 | const bool need_skipped_width = | 6114 | 674 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 674 | auto it = rng.begin(); | 6118 | 674 | std::ptrdiff_t prefix_width = 0; | 6119 | 674 | if (specs.precision != 0) { | 6120 | 232 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 232 | SCN_TRY(prefix_result, | 6122 | 232 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 232 | it = prefix_result.first.base(); | 6124 | 232 | prefix_width = prefix_result.second; | 6125 | 232 | } | 6126 | 442 | else { | 6127 | 442 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 442 | std::tie(it, prefix_width) = prefix_result; | 6129 | 442 | } | 6130 | 674 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 674 | std::ptrdiff_t value_width = 0; | 6134 | 674 | if (specs.precision != 0) { | 6135 | 232 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 228 | const auto initial_width = specs.precision - prefix_width; | 6143 | 228 | auto max_width_view = | 6144 | 228 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 228 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 442 | else { | 6150 | 442 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 540 | { | 6113 | 540 | const bool need_skipped_width = | 6114 | 540 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 540 | auto it = rng.begin(); | 6118 | 540 | std::ptrdiff_t prefix_width = 0; | 6119 | 540 | if (specs.precision != 0) { | 6120 | 180 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 180 | SCN_TRY(prefix_result, | 6122 | 180 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 180 | it = prefix_result.first.base(); | 6124 | 180 | prefix_width = prefix_result.second; | 6125 | 180 | } | 6126 | 360 | else { | 6127 | 360 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 360 | std::tie(it, prefix_width) = prefix_result; | 6129 | 360 | } | 6130 | 540 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 540 | std::ptrdiff_t value_width = 0; | 6134 | 540 | if (specs.precision != 0) { | 6135 | 180 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 178 | const auto initial_width = specs.precision - prefix_width; | 6143 | 178 | auto max_width_view = | 6144 | 178 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 178 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 158 | it = w_it.base(); | 6147 | 158 | value_width = initial_width - w_it.count(); | 6148 | 158 | } | 6149 | 360 | else { | 6150 | 360 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 340 | specs, value, loc)); | 6152 | | | 6153 | 340 | if (need_skipped_width) { | 6154 | 250 | value_width = calculate_text_width( | 6155 | 250 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 250 | .view()); | 6157 | 250 | } | 6158 | 340 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 498 | std::ptrdiff_t postfix_width = 0; | 6162 | 498 | if (it != rng.end()) { | 6163 | 498 | SCN_TRY(postfix_result, | 6164 | 498 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 498 | rd.skip_ws_before_read(), prefix_width, | 6166 | 498 | value_width)); | 6167 | 498 | std::tie(it, postfix_width) = postfix_result; | 6168 | 498 | } | 6169 | | | 6170 | 498 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 498 | value_width, postfix_width); | 6172 | 498 | !e) { | 6173 | 250 | return unexpected(e); | 6174 | 250 | } | 6175 | | | 6176 | 248 | return it; | 6177 | 498 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 560 | { | 6113 | 560 | const bool need_skipped_width = | 6114 | 560 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 560 | auto it = rng.begin(); | 6118 | 560 | std::ptrdiff_t prefix_width = 0; | 6119 | 560 | if (specs.precision != 0) { | 6120 | 186 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 186 | SCN_TRY(prefix_result, | 6122 | 186 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 186 | it = prefix_result.first.base(); | 6124 | 186 | prefix_width = prefix_result.second; | 6125 | 186 | } | 6126 | 374 | else { | 6127 | 374 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 374 | std::tie(it, prefix_width) = prefix_result; | 6129 | 374 | } | 6130 | 560 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 560 | std::ptrdiff_t value_width = 0; | 6134 | 560 | if (specs.precision != 0) { | 6135 | 186 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 182 | const auto initial_width = specs.precision - prefix_width; | 6143 | 182 | auto max_width_view = | 6144 | 182 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 182 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 374 | else { | 6150 | 374 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 5.30k | { | 6113 | 5.30k | const bool need_skipped_width = | 6114 | 5.30k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.30k | auto it = rng.begin(); | 6118 | 5.30k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.30k | if (specs.precision != 0) { | 6120 | 306 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 306 | SCN_TRY(prefix_result, | 6122 | 306 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 306 | it = prefix_result.first.base(); | 6124 | 306 | prefix_width = prefix_result.second; | 6125 | 306 | } | 6126 | 4.99k | else { | 6127 | 4.99k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.99k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.99k | } | 6130 | 5.30k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.30k | std::ptrdiff_t value_width = 0; | 6134 | 5.30k | if (specs.precision != 0) { | 6135 | 306 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 300 | const auto initial_width = specs.precision - prefix_width; | 6143 | 300 | auto max_width_view = | 6144 | 300 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 300 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 174 | it = w_it.base(); | 6147 | 174 | value_width = initial_width - w_it.count(); | 6148 | 174 | } | 6149 | 4.99k | else { | 6150 | 4.99k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.13k | specs, value, loc)); | 6152 | | | 6153 | 1.13k | if (need_skipped_width) { | 6154 | 668 | value_width = calculate_text_width( | 6155 | 668 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 668 | .view()); | 6157 | 668 | } | 6158 | 1.13k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.31k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.31k | if (it != rng.end()) { | 6163 | 976 | SCN_TRY(postfix_result, | 6164 | 976 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 976 | rd.skip_ws_before_read(), prefix_width, | 6166 | 976 | value_width)); | 6167 | 976 | std::tie(it, postfix_width) = postfix_result; | 6168 | 976 | } | 6169 | | | 6170 | 1.31k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.31k | value_width, postfix_width); | 6172 | 1.31k | !e) { | 6173 | 424 | return unexpected(e); | 6174 | 424 | } | 6175 | | | 6176 | 888 | return it; | 6177 | 1.31k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6112 | 5.30k | { | 6113 | 5.30k | const bool need_skipped_width = | 6114 | 5.30k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.30k | auto it = rng.begin(); | 6118 | 5.30k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.30k | if (specs.precision != 0) { | 6120 | 306 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 306 | SCN_TRY(prefix_result, | 6122 | 306 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 306 | it = prefix_result.first.base(); | 6124 | 306 | prefix_width = prefix_result.second; | 6125 | 306 | } | 6126 | 4.99k | else { | 6127 | 4.99k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.99k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.99k | } | 6130 | 5.30k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.30k | std::ptrdiff_t value_width = 0; | 6134 | 5.30k | if (specs.precision != 0) { | 6135 | 306 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 300 | const auto initial_width = specs.precision - prefix_width; | 6143 | 300 | auto max_width_view = | 6144 | 300 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 300 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 174 | it = w_it.base(); | 6147 | 174 | value_width = initial_width - w_it.count(); | 6148 | 174 | } | 6149 | 4.99k | else { | 6150 | 4.99k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.13k | specs, value, loc)); | 6152 | | | 6153 | 1.13k | if (need_skipped_width) { | 6154 | 668 | value_width = calculate_text_width( | 6155 | 668 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 668 | .view()); | 6157 | 668 | } | 6158 | 1.13k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.31k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.31k | if (it != rng.end()) { | 6163 | 976 | SCN_TRY(postfix_result, | 6164 | 976 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 976 | rd.skip_ws_before_read(), prefix_width, | 6166 | 976 | value_width)); | 6167 | 976 | std::tie(it, postfix_width) = postfix_result; | 6168 | 976 | } | 6169 | | | 6170 | 1.31k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.31k | value_width, postfix_width); | 6172 | 1.31k | !e) { | 6173 | 424 | return unexpected(e); | 6174 | 424 | } | 6175 | | | 6176 | 888 | return it; | 6177 | 1.31k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 5.30k | { | 6113 | 5.30k | const bool need_skipped_width = | 6114 | 5.30k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.30k | auto it = rng.begin(); | 6118 | 5.30k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.30k | if (specs.precision != 0) { | 6120 | 306 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 306 | SCN_TRY(prefix_result, | 6122 | 306 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 306 | it = prefix_result.first.base(); | 6124 | 306 | prefix_width = prefix_result.second; | 6125 | 306 | } | 6126 | 4.99k | else { | 6127 | 4.99k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.99k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.99k | } | 6130 | 5.30k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.30k | std::ptrdiff_t value_width = 0; | 6134 | 5.30k | if (specs.precision != 0) { | 6135 | 306 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 300 | const auto initial_width = specs.precision - prefix_width; | 6143 | 300 | auto max_width_view = | 6144 | 300 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 300 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 174 | it = w_it.base(); | 6147 | 174 | value_width = initial_width - w_it.count(); | 6148 | 174 | } | 6149 | 4.99k | else { | 6150 | 4.99k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.13k | specs, value, loc)); | 6152 | | | 6153 | 1.13k | if (need_skipped_width) { | 6154 | 668 | value_width = calculate_text_width( | 6155 | 668 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 668 | .view()); | 6157 | 668 | } | 6158 | 1.13k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.31k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.31k | if (it != rng.end()) { | 6163 | 976 | SCN_TRY(postfix_result, | 6164 | 976 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 976 | rd.skip_ws_before_read(), prefix_width, | 6166 | 976 | value_width)); | 6167 | 976 | std::tie(it, postfix_width) = postfix_result; | 6168 | 976 | } | 6169 | | | 6170 | 1.31k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.31k | value_width, postfix_width); | 6172 | 1.31k | !e) { | 6173 | 424 | return unexpected(e); | 6174 | 424 | } | 6175 | | | 6176 | 888 | return it; | 6177 | 1.31k | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ |
6178 | | |
6179 | | template <typename T> |
6180 | | scan_expected<iterator> operator()(T& value) |
6181 | 175k | { |
6182 | | if constexpr (!detail::is_type_disabled<T> && |
6183 | | std::is_same_v< |
6184 | | context_type, |
6185 | 175k | basic_contiguous_scan_context<char_type>>) { |
6186 | 175k | auto rd = make_reader<T, char_type>(); |
6187 | 175k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { |
6188 | 110k | return unexpected(e); |
6189 | 110k | } |
6190 | | |
6191 | 65.0k | return impl(rd, range, value); |
6192 | | } |
6193 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
6194 | 0 | auto rd = make_reader<T, char_type>(); |
6195 | 0 | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { |
6196 | 0 | return unexpected(e); |
6197 | 0 | } |
6198 | | |
6199 | 0 | if (!is_segment_contiguous(range) || specs.precision != 0 || |
6200 | 0 | specs.width != 0) { |
6201 | 0 | return impl(rd, range, value); |
6202 | 0 | } |
6203 | | |
6204 | 0 | auto crange = get_as_contiguous(range); |
6205 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
6206 | 0 | return ranges::next(range.begin(), |
6207 | 0 | ranges::distance(crange.begin(), it)); |
6208 | | } |
6209 | | else { |
6210 | | SCN_EXPECT(false); |
6211 | | SCN_UNREACHABLE; |
6212 | | } |
6213 | 175k | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<short>(short&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<int>(int&) Line | Count | Source | 6181 | 14.1k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.1k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.1k | auto rd = make_reader<T, char_type>(); | 6187 | 14.1k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.4k | return unexpected(e); | 6189 | 13.4k | } | 6190 | | | 6191 | 640 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.1k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6181 | 14.1k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.1k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.1k | auto rd = make_reader<T, char_type>(); | 6187 | 14.1k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.4k | return unexpected(e); | 6189 | 13.4k | } | 6190 | | | 6191 | 640 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.1k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<void*>(void*&) Line | Count | Source | 6181 | 14.0k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.0k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.0k | auto rd = make_reader<T, char_type>(); | 6187 | 14.0k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.5k | return unexpected(e); | 6189 | 13.5k | } | 6190 | | | 6191 | 538 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.0k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<bool>(bool&) Line | Count | Source | 6181 | 14.1k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.1k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.1k | auto rd = make_reader<T, char_type>(); | 6187 | 14.1k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.2k | return unexpected(e); | 6189 | 13.2k | } | 6190 | | | 6191 | 866 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.1k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char>(char&) Line | Count | Source | 6181 | 14.0k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.0k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.0k | auto rd = make_reader<T, char_type>(); | 6187 | 14.0k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.4k | return unexpected(e); | 6189 | 13.4k | } | 6190 | | | 6191 | 588 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.0k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<float>(float&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<double>(double&) Line | Count | Source | 6181 | 14.1k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.1k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.1k | auto rd = make_reader<T, char_type>(); | 6187 | 14.1k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 13.5k | return unexpected(e); | 6189 | 13.5k | } | 6190 | | | 6191 | 612 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.1k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long double>(long double&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 6181 | 14.0k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.0k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.0k | auto rd = make_reader<T, char_type>(); | 6187 | 14.0k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 126 | return unexpected(e); | 6189 | 126 | } | 6190 | | | 6191 | 13.9k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.0k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6181 | 14.0k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.0k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.0k | auto rd = make_reader<T, char_type>(); | 6187 | 14.0k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 126 | return unexpected(e); | 6189 | 126 | } | 6190 | | | 6191 | 13.9k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.0k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6181 | 14.0k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 14.0k | basic_contiguous_scan_context<char_type>>) { | 6186 | 14.0k | auto rd = make_reader<T, char_type>(); | 6187 | 14.0k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 126 | return unexpected(e); | 6189 | 126 | } | 6190 | | | 6191 | 13.9k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 14.0k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<short>(short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<int>(int&) Line | Count | Source | 6181 | 5.44k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.44k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.44k | auto rd = make_reader<T, char_type>(); | 6187 | 5.44k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.85k | return unexpected(e); | 6189 | 4.85k | } | 6190 | | | 6191 | 586 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.44k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6181 | 5.44k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.44k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.44k | auto rd = make_reader<T, char_type>(); | 6187 | 5.44k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.85k | return unexpected(e); | 6189 | 4.85k | } | 6190 | | | 6191 | 586 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.44k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 6181 | 5.38k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.38k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.38k | auto rd = make_reader<T, char_type>(); | 6187 | 5.38k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.87k | return unexpected(e); | 6189 | 4.87k | } | 6190 | | | 6191 | 506 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.38k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 6181 | 5.44k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.44k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.44k | auto rd = make_reader<T, char_type>(); | 6187 | 5.44k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.77k | return unexpected(e); | 6189 | 4.77k | } | 6190 | | | 6191 | 674 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.44k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char>(char&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 6181 | 5.38k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.38k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.38k | auto rd = make_reader<T, char_type>(); | 6187 | 5.38k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.84k | return unexpected(e); | 6189 | 4.84k | } | 6190 | | | 6191 | 540 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.38k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<float>(float&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<double>(double&) Line | Count | Source | 6181 | 5.44k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.44k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.44k | auto rd = make_reader<T, char_type>(); | 6187 | 5.44k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.88k | return unexpected(e); | 6189 | 4.88k | } | 6190 | | | 6191 | 560 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.44k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6181 | 5.38k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.38k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.38k | auto rd = make_reader<T, char_type>(); | 6187 | 5.38k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 5.30k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.38k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 6181 | 5.38k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.38k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.38k | auto rd = make_reader<T, char_type>(); | 6187 | 5.38k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 5.30k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.38k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6181 | 5.38k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.38k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.38k | auto rd = make_reader<T, char_type>(); | 6187 | 5.38k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 5.30k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.38k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) |
6214 | | |
6215 | | scan_expected<iterator> operator()(typename context_type::arg_type::handle) |
6216 | 0 | { |
6217 | 0 | SCN_EXPECT(false); |
6218 | 0 | SCN_UNREACHABLE; |
6219 | 0 | } Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) |
6220 | | |
6221 | | range_type range; |
6222 | | const detail::format_specs& specs; |
6223 | | detail::locale_ref loc; |
6224 | | }; |
6225 | | |
6226 | | template <typename Context> |
6227 | | struct custom_reader { |
6228 | | using context_type = Context; |
6229 | | using char_type = typename context_type::char_type; |
6230 | | using parse_context_type = typename context_type::parse_context_type; |
6231 | | using iterator = typename context_type::iterator; |
6232 | | |
6233 | | template <typename T> |
6234 | | scan_expected<iterator> operator()(T&) const |
6235 | 0 | { |
6236 | 0 | SCN_EXPECT(false); |
6237 | 0 | SCN_UNREACHABLE; |
6238 | 0 | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) const |
6239 | | |
6240 | | scan_expected<iterator> operator()( |
6241 | | typename context_type::arg_type::handle h) const |
6242 | 0 | { |
6243 | 0 | if (auto e = h.scan(parse_ctx, ctx); !e) { |
6244 | 0 | return unexpected(e); |
6245 | 0 | } |
6246 | 0 | return {ctx.begin()}; |
6247 | 0 | } Unexecuted instantiation: scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) const Unexecuted instantiation: scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) const |
6248 | | |
6249 | | parse_context_type& parse_ctx; |
6250 | | context_type& ctx; |
6251 | | }; |
6252 | | } // namespace impl |
6253 | | |
6254 | | SCN_END_NAMESPACE |
6255 | | } // namespace scn |